[issue1722344] Thread shutdown exception in Thread.notify()
Adam Olsen
report at bugs.python.org
Tue Feb 5 22:25:49 CET 2008
Adam Olsen added the comment:
Py_Main calls WaitForThreadShutdown before calling Py_Finalize, which
should wait for all these threads to finish shutting down before it
starts wiping their globals.
However, if SystemExit is raised (such as via sys.exit()), Py_Exit is
called, and it directly calls Py_Finalize, bypassing the
WaitForThreadShutdown.
Can someone who's experienced this bug check if they're using
SystemExit/sys.exit?
----------
nosy: +Rhamphoryncus
_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1722344>
_____________________________________
More information about the Python-bugs-list
mailing list