1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-23 12:20:30 +03:00

dont force a send on exit

just try and send if we can
This commit is contained in:
A_D 2020-07-27 15:12:32 +02:00
parent bb817eee3b
commit d4299c224f
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -103,7 +103,8 @@ def plugin_app(parent):
def plugin_stop():
# Send any unsent events
call(force=True)
call()
time.sleep(0.1) # Sleep for 100ms to allow call to go out, and to force a context switch to our other threads
# Signal thread to close and wait for it
this.queue.put(None)
this.thread.join()