mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-21 03:06:15 +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
|
// Tick the terminal app
|
||||||
const should_quit = try self.app.tick(self);
|
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