mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-12-27 03:17:06 -07:00
try setting thread to daemon
This commit is contained in:
parent
148e482697
commit
126b48a41e
|
@ -164,6 +164,7 @@ def start_controller(attrname=None, old=None, new=None):
|
||||||
global control_thread_run
|
global control_thread_run
|
||||||
control_thread_run = True
|
control_thread_run = True
|
||||||
control_thread = threading.Thread(target=controller)
|
control_thread = threading.Thread(target=controller)
|
||||||
|
control_thread.daemon = True
|
||||||
control_thread.start()
|
control_thread.start()
|
||||||
|
|
||||||
def stop_controller(attrname=None, old=None, new=None):
|
def stop_controller(attrname=None, old=None, new=None):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user