From d4299c224f2a783d3380b9ca244c05b1823440e6 Mon Sep 17 00:00:00 2001 From: A_D Date: Mon, 27 Jul 2020 15:12:32 +0200 Subject: [PATCH] dont force a send on exit just try and send if we can --- plugins/inara.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/inara.py b/plugins/inara.py index 43fd5880..aa7e7b90 100644 --- a/plugins/inara.py +++ b/plugins/inara.py @@ -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()