Ensure clean shutdown of threads within tasks
Closed this issue · 0 comments
thomasst commented
Consider calling threading._shutdown()
before os._exit()
. We probably don't want to call sys.exit()
because it would perform additional cleanup (e.g. calling atexit
handlers twice).