closeio/tasktiger

Ensure clean shutdown of threads within tasks

Closed this issue · 0 comments

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).