]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-9686)
authortzickel <tzickel@users.noreply.github.com>
Wed, 3 Oct 2018 11:50:04 +0000 (14:50 +0300)
committerAntoine Pitrou <pitrou@free.fr>
Wed, 3 Oct 2018 11:50:04 +0000 (13:50 +0200)
commit4a7dd30f5810e8861a3834159a222ab32d5c97d0
tree2d3c2bf843302604afe598800de15cefffc6142d
parent8d3b0f49021e6cd25030a1eb979218cfceb44061
[2.7] bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-9686)

Fix a reference issue inside multiprocessing.Pool that caused the pool to remain alive if it was deleted without being closed or terminated explicitly.
Lib/multiprocessing/pool.py
Lib/test/test_multiprocessing.py
Misc/NEWS.d/next/Library/2018-07-26-10-31-52.bpo-34172.8ovLNi.rst [new file with mode: 0644]