Open tvogel opened 10 months ago
SharingMQ.run(): use Event.wait() instead of time.sleep() such that setting the flag also stops the sleep; there is no way to stop time.sleep() in a secondary thread and waiting two hours for _stop_event to take effect is too long;
SharingMQ.run(): use Event.wait() instead of time.sleep() such that setting the flag also stops the sleep; there is no way to stop time.sleep() in a secondary thread and waiting two hours for _stop_event to take effect is too long;