Skip to content

Commit

Permalink
fix(gui.app): shutdown callback assignment in stop process
Browse files Browse the repository at this point in the history
  • Loading branch information
manucabral committed Nov 10, 2024
1 parent d5e774f commit ca84cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,9 @@ def on_exit(self) -> None:
return
if result.lower() == "no":
return
self.manager.runtime.shutdown_callback = None
self.manager.stop_event.set()
try:
self.manager.runtime.shutdown_callback = None
self.manager.runtime.running = False
self.manager.executor.shutdown()
self.custom_presence_window.on_custom_presence_disconnect()
Expand Down

0 comments on commit ca84cf2

Please sign in to comment.