From 715c497b9d2794ed640bf06f6c64ac05606ea178 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Mon, 4 Jun 2018 17:09:41 -0400 Subject: [PATCH] Terminate fully cleanly --- NodeInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NodeInstance.py b/NodeInstance.py index f635ff32..7962d7f0 100644 --- a/NodeInstance.py +++ b/NodeInstance.py @@ -220,4 +220,4 @@ class NodeInstance(threading.Thread): for x in range(0,90): time.sleep(0.1) if self.stop_thread.is_set(): - return + sys.exit(0)