Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5bedef3

Browse files
committed
Issue #15881: Fixed 3.2 backport.
1 parent 3635156 commit 5bedef3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/multiprocessing/util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ def _exit_function(info=info, debug=debug, _run_finalizers=_run_finalizers,
294294
global _exiting
295295

296296
if not _exiting:
297+
_exiting = True
298+
297299
info('process shutting down')
298300
debug('running all "atexit" finalizers with priority >= 0')
299301
_run_finalizers(0)

0 commit comments

Comments
 (0)