mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
asyncio: Temporary fix by Victor Stinner for issue 19566.
This commit is contained in:
parent
d4fdbcc078
commit
82e9f32f17
1 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue