summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2012-11-15 18:22:23 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2012-11-15 18:22:23 (GMT)
commit8f7c4b8a8551702a9f718098b6b3eea2e8d88bb0 (patch)
treebd5e219c1bb07c7743a6f44dc029f563ed00180d /Lib/multiprocessing
parent9bd7f22c0505be784bcaad9a3b335dc273b79564 (diff)
parent021f4c2ecca4e65755fc39b01b7819df8dd9993f (diff)
downloadcpython-8f7c4b8a8551702a9f718098b6b3eea2e8d88bb0.zip
cpython-8f7c4b8a8551702a9f718098b6b3eea2e8d88bb0.tar.gz
cpython-8f7c4b8a8551702a9f718098b6b3eea2e8d88bb0.tar.bz2
Issue #16481: Merge
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r--Lib/multiprocessing/forking.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/multiprocessing/forking.py b/Lib/multiprocessing/forking.py
index fe4ee33..a0b3d68 100644
--- a/Lib/multiprocessing/forking.py
+++ b/Lib/multiprocessing/forking.py
@@ -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)