fix:l close download_manager flux on app exit

This commit is contained in:
2025-12-14 09:35:25 +01:00
parent 9eba702a0a
commit 03988f0988

View File

@@ -95,6 +95,8 @@ class Auditui(App):
def on_unmount(self) -> None: def on_unmount(self) -> None:
"""Clean up on app exit.""" """Clean up on app exit."""
self.playback.stop() self.playback.stop()
if self.download_manager:
self.download_manager.close()
def on_key(self, event: Key) -> None: def on_key(self, event: Key) -> None:
"""Handle key presses.""" """Handle key presses."""