From 126b48a41e3ab01db7d24dcbc860edc5adb12740 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Mon, 2 Mar 2020 21:59:54 -0700 Subject: [PATCH] try setting thread to daemon --- Software/python/hwtest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Software/python/hwtest.py b/Software/python/hwtest.py index 48ee477..23acfa7 100644 --- a/Software/python/hwtest.py +++ b/Software/python/hwtest.py @@ -164,6 +164,7 @@ def start_controller(attrname=None, old=None, new=None): global control_thread_run control_thread_run = True control_thread = threading.Thread(target=controller) + control_thread.daemon = True control_thread.start() def stop_controller(attrname=None, old=None, new=None):