Kaydet (Commit) 8f7c4b8a authored tarafından Richard Oudkerk's avatar Richard Oudkerk

Issue #16481: Merge

...@@ -233,6 +233,7 @@ else: ...@@ -233,6 +233,7 @@ else:
self.returncode = None self.returncode = None
self._handle = hp self._handle = hp
self.sentinel = int(hp) self.sentinel = int(hp)
util.Finalize(self, _winapi.CloseHandle, (self.sentinel,))
# send information to child # send information to child
Popen._tls.process_handle = int(hp) Popen._tls.process_handle = int(hp)
......
...@@ -127,6 +127,8 @@ Core and Builtins ...@@ -127,6 +127,8 @@ Core and Builtins
Library Library
------- -------
- Issue #16481: multiprocessing no longer leaks process handles on Windows.
- Issue #12428: Add a pure Python implementation of functools.partial(). - Issue #12428: Add a pure Python implementation of functools.partial().
Patch by Brian Thorne. Patch by Brian Thorne.
......
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