Kaydet (Commit) 82e9f32f authored tarafından Guido van Rossum's avatar Guido van Rossum

asyncio: Temporary fix by Victor Stinner for issue 19566.

üst d4fdbcc0
......@@ -593,11 +593,12 @@ class FastChildWatcher(BaseChildWatcher):
(O(1) each time a child terminates).
"""
def __init__(self, loop):
super().__init__(loop)
self._lock = threading.Lock()
self._zombies = {}
self._forks = 0
# Call base class constructor last because it calls back into
# the subclass (set_loop() calls _do_waitpid()).
super().__init__(loop)
def close(self):
super().close()
......
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