mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-13 20:14:12 +02:00
Ensure the update check process is killed on exit
This commit is contained in:
@@ -779,6 +779,8 @@ class Boss:
|
|||||||
def destroy(self):
|
def destroy(self):
|
||||||
self.shutting_down = True
|
self.shutting_down = True
|
||||||
self.child_monitor.shutdown_monitor()
|
self.child_monitor.shutdown_monitor()
|
||||||
|
if self.update_check_process is not None:
|
||||||
|
self.update_check_process.kill()
|
||||||
self.update_check_process = None
|
self.update_check_process = None
|
||||||
del self.child_monitor
|
del self.child_monitor
|
||||||
for tm in self.os_window_map.values():
|
for tm in self.os_window_map.values():
|
||||||
|
|||||||
Reference in New Issue
Block a user