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:
parent
bb817eee3b
commit
d4299c224f
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user