forked from zietzm/Helmholtz_Test_Bench
workaround for thread end problem on program close
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user