mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2025-07-31 13:01:45 -06:00
try setting thread to daemon
This commit is contained in:
@@ -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):
|
||||||
|
Reference in New Issue
Block a user