This commit is contained in:
Kovid Goyal 2026-10-19 21:06:54 +05:30
commit fcd69c04c8
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -2179,6 +2179,9 @@ class Window:
def destroy(self) -> None:
self.call_watchers(self.watchers.on_close, {})
self.destroyed = True
if self.clear_progress_timer:
remove_timer(self.clear_progress_timer)
self.clear_progress_timer = 0
self.clipboard_request_manager.close()
del self.kitten_result_processors
if hasattr(self, 'screen'):