Terminate fully cleanly

This commit is contained in:
Joshua Boniface 2018-06-04 17:09:41 -04:00
parent b742030bd5
commit 715c497b9d
1 changed files with 1 additions and 1 deletions

View File

@ -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)