multithreading - Python - Cannot join thread - No ...
2016-10-7 · Then, the way to stop the thread is to do: thread2.should_abort_immediately = True # tell the thread to stop thread2.join() # entirely optional: wait until it stops The Code from the Question. That code already implements the stopping correctly with the break. The join should just be deleted.
Get Price