Simon Arlott <python.si...@arlott.org> added the comment:

Another way to do this is to call threading.main_thread().join() in another 
thread and do the shutdown cleanup when it returns.

The main thread is stopped at shutdown just before the 
threading._threading_atexits are called.

----------
nosy: +sa

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41962>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to