Kaydet (Commit) bed9a5b6 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Issue #11814: Fix likely typo in multiprocessing.Pool._terminate().

üst 81dee6b4
......@@ -500,7 +500,7 @@ class Pool(object):
task_handler.join()
debug('joining result handler')
task_handler.join()
result_handler.join()
if pool and hasattr(pool[0], 'terminate'):
debug('joining pool workers')
......
......@@ -53,6 +53,8 @@ Core and Builtins
Library
-------
- Issue #11814: Fix likely typo in multiprocessing.Pool._terminate().
- Issue #8428: Fix a race condition in multiprocessing.Pool when terminating
worker processes: new processes would be spawned while the pool is being
shut down. Patch by Charles-François Natali.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment