Fix an issue with the tray icon delaying the shutdown for too long

This commit is contained in:
DevilXD committed 2022-09-04 09:31:01 +02:00
1 parent befb755273
commit 3cf083d9fe
1 file changed
+2 -1
+2 -1
View File
@@ -1840,8 +1840,9 @@ class GUIManager:
"""
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