protocol: Avoid Tk event_generate() calls during shutdown

# Conflicts:
#	protocol.py
This commit is contained in:
Athanasius committed 2021-04-01 14:45:48 +01:00
1 parent b39cc7974e
commit e7a7314c1a
1 file changed
-2
-2
View File
@@ -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")