mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
Fix exceptions during shutdown
This commit is contained in:
@@ -61,6 +61,9 @@ class Window:
|
||||
def destroy(self):
|
||||
self.child.hangup()
|
||||
self.child.get_child_status() # Ensure child does not become zombie
|
||||
# At this point this window can still render to screen using its
|
||||
# existing buffers in char_grid. The rest of the cleanup must be
|
||||
# performed in the GUI thread.
|
||||
|
||||
def read_ready(self):
|
||||
if self.read_bytes(self.screen, self.child_fd) is False:
|
||||
|
||||
Reference in New Issue
Block a user