Skip to content

Commit

Permalink
Fix an issue with the tray icon delaying the shutdown for too long
Browse files Browse the repository at this point in the history
  • Loading branch information
DevilXD committed Sep 4, 2022
1 parent befb755 commit 3cf083d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1840,8 +1840,9 @@ def close_window(self):
"""
Closes the window. Invalidates the logger.
"""
self._root.destroy()
self.tray.stop()
logging.getLogger("TwitchDrops").removeHandler(self._handler)
self._root.destroy()

def unfocus(self, event):
# support pressing ESC to unfocus
Expand Down

0 comments on commit 3cf083d

Please sign in to comment.