Issue #15881: Fixed 3.2 backport.

This commit is contained in:
Alexander Belopolsky 2012-09-09 13:31:08 -04:00
parent 36351564a2
commit 5bedef3e64

View file

@ -294,6 +294,8 @@ def _exit_function(info=info, debug=debug, _run_finalizers=_run_finalizers,
global _exiting
if not _exiting:
_exiting = True
info('process shutting down')
debug('running all "atexit" finalizers with priority >= 0')
_run_finalizers(0)