mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-05-31 07:39:44 +03:00
protocol: Avoid Tk event_generate() calls during shutdown
This commit is contained in:
parent
4bddc4c0cb
commit
92d5657e21
@ -32,7 +32,9 @@ class GenericProtocolHandler(object):
|
||||
|
||||
def event(self, url):
|
||||
self.lastpayload = url
|
||||
self.master.event_generate('<<CompanionAuthEvent>>', when="tail")
|
||||
|
||||
if not config.shutting_down():
|
||||
self.master.event_generate('<<CompanionAuthEvent>>', when="tail")
|
||||
|
||||
|
||||
if sys.platform == 'darwin' and getattr(sys, 'frozen', False):
|
||||
|
Loading…
x
Reference in New Issue
Block a user