diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2012-09-09 17:31:08 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2012-09-09 17:31:08 (GMT) |
commit | 5bedef3e64825c65e7bae51d2aea73f8bea34dd8 (patch) | |
tree | f43636e7433780c3fab8cd2696a1f7b85b6f0015 /Lib/multiprocessing | |
parent | 36351564a252d396fcaeb63b785b21226bfacd67 (diff) | |
download | cpython-5bedef3e64825c65e7bae51d2aea73f8bea34dd8.zip cpython-5bedef3e64825c65e7bae51d2aea73f8bea34dd8.tar.gz cpython-5bedef3e64825c65e7bae51d2aea73f8bea34dd8.tar.bz2 |
Issue #15881: Fixed 3.2 backport.
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r-- | Lib/multiprocessing/util.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/multiprocessing/util.py b/Lib/multiprocessing/util.py index 5e501bd..20bba37 100644 --- a/Lib/multiprocessing/util.py +++ b/Lib/multiprocessing/util.py @@ -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) |