mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #16481: multiprocessing no longer leaks process handles on Windows.
This commit is contained in:
parent
e2cf03e499
commit
021f4c2ecc
2 changed files with 3 additions and 0 deletions
|
|
@ -233,6 +233,7 @@ else:
|
|||
self.returncode = None
|
||||
self._handle = hp
|
||||
self.sentinel = int(hp)
|
||||
util.Finalize(self, _winapi.CloseHandle, (self.sentinel,))
|
||||
|
||||
# send information to child
|
||||
Popen._tls.process_handle = int(hp)
|
||||
|
|
|
|||
|
|
@ -85,6 +85,8 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #16481: multiprocessing no longer leaks process handles on Windows.
|
||||
|
||||
- Issue #16140: The subprocess module no longer double closes its child
|
||||
subprocess.PIPE parent file descriptors on child error prior to exec().
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue