+5
−2
Loading
Previously, a spawned thread would stay open even after the GUI shut down. Meaning a stuck thread (network issues maybe) would leave the executable running indefinitely. This turns threads created by "asyncme.py" helper functions into daemonic threads, which are stopped at shutdown. This will be an abrupt thread shutdown, but I believe that should be safe because this async module is used for GUI helpers, and if the GUI has exited... There is an escape valve you can use if you do need to wait on a thread by just calling join() yourself before you exit. Fixes #628