mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 00:07:14 +03:00
protocol: Avoid Tk event_generate() calls during shutdown
# Conflicts: # protocol.py
This commit is contained in:
parent
b39cc7974e
commit
e7a7314c1a
@ -34,9 +34,7 @@ class GenericProtocolHandler(object):
|
||||
def event(self, url):
|
||||
self.lastpayload = url
|
||||
|
||||
logger.trace(f'Payload: {self.lastpayload}')
|
||||
if not config.shutting_down:
|
||||
logger.debug('event_generate("<<CompanionAuthEvent>>"')
|
||||
self.master.event_generate('<<CompanionAuthEvent>>', when="tail")
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user