mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-19 18:26:13 +03:00
apprt/glfw: quit cleans up resources properly
This commit is contained in:
@ -93,7 +93,13 @@ pub const App = struct {
|
||||
|
||||
// Tick the terminal app
|
||||
const should_quit = try self.app.tick(self);
|
||||
if (should_quit) return;
|
||||
if (should_quit) {
|
||||
for (self.app.surfaces.items) |surface| {
|
||||
surface.close(false);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user