Kaydet (Commit) 021f4c2e authored tarafından Richard Oudkerk's avatar Richard Oudkerk

Issue #16481: multiprocessing no longer leaks process handles on Windows.

üst e2cf03e4
......@@ -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().
......
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