mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-06 10:23:06 +03:00
protocol: Avoid Tk event_generate() calls during shutdown
This commit is contained in:
parent
4bddc4c0cb
commit
92d5657e21
@ -32,6 +32,8 @@ class GenericProtocolHandler(object):
|
|||||||
|
|
||||||
def event(self, url):
|
def event(self, url):
|
||||||
self.lastpayload = url
|
self.lastpayload = url
|
||||||
|
|
||||||
|
if not config.shutting_down():
|
||||||
self.master.event_generate('<<CompanionAuthEvent>>', when="tail")
|
self.master.event_generate('<<CompanionAuthEvent>>', when="tail")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user