]> granicus.if.org Git - python/commit
bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-8450)
authortzickel <tzickel@users.noreply.github.com>
Tue, 2 Oct 2018 21:01:23 +0000 (00:01 +0300)
committerAntoine Pitrou <pitrou@free.fr>
Tue, 2 Oct 2018 21:01:23 +0000 (23:01 +0200)
commit97bfe8d3ebb0a54c8798f57555cb4152f9b2e1d0
treeb97ded93b7eece4244ce9719f75469f3410083f2
parent9012a0fb4c4ec1afef9efb9fdb0964554ea17983
bpo-34172: multiprocessing.Pool leaks resources after being deleted (GH-8450)

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]