]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #15881: Fixed 3.2 backport.
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>
Sun, 9 Sep 2012 17:31:08 +0000 (13:31 -0400)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>
Sun, 9 Sep 2012 17:31:08 +0000 (13:31 -0400)
Lib/multiprocessing/util.py

index 5e501bda62518b4678eabf2a736187af57145e07..20bba3764c2f9c3b541c8df7ff16a7959b9d2b33 100644 (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)