workaround for thread end problem on program close

This commit is contained in:
Martin Zietz
2021-02-10 11:46:23 +01:00
parent ca2f094ef8
commit 95295e1f61
3 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -626,7 +626,7 @@ class ExecuteCSVMode(Frame):
self.stop_button["state"] = "normal"
self.reinit_button["state"] = "disabled"
# g.threadLock = threading.Lock() # create thread locking object, used to ensure all devices switch at once later
g.threadLock = threading.Lock() # create thread locking object, used to ensure all devices switch at once later
# create separate thread to run sequence execution in:
self.csv_thread = csv.ExecCSVThread("CSV_Thread", self.sequence_array, self, self.controller)
self.csv_thread.start() # start thread