Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4110cfe commit 5965891Copy full SHA for 5965891
1 file changed
Lib/asyncio/unix_events.py
@@ -1465,8 +1465,6 @@ def _init_watcher(self):
1465
self._watcher = PidfdChildWatcher()
1466
else:
1467
self._watcher = ThreadedChildWatcher()
1468
- if threading.current_thread() is threading.main_thread():
1469
- self._watcher.attach_loop(self._local._loop)
1470
1471
def set_event_loop(self, loop):
1472
"""Set the event loop.
0 commit comments