Fix an issue with the tray icon delaying the shutdown for too long
This commit is contained in:
1 parent
befb755273
commit
3cf083d9fe
1 file changed
+2
-1
@@ -1840,8 +1840,9 @@ class GUIManager:
|
|||||||
"""
|
"""
|
||||||
Closes the window. Invalidates the logger.
|
Closes the window. Invalidates the logger.
|
||||||
"""
|
"""
|
||||||
self._root.destroy()
|
self.tray.stop()
|
||||||
logging.getLogger("TwitchDrops").removeHandler(self._handler)
|
logging.getLogger("TwitchDrops").removeHandler(self._handler)
|
||||||
|
self._root.destroy()
|
||||||
|
|
||||||
def unfocus(self, event):
|
def unfocus(self, event):
|
||||||
# support pressing ESC to unfocus
|
# support pressing ESC to unfocus
|
||||||
|
|||||||
Reference in new issue
Block a user