Agently icon indicating copy to clipboard operation
Agently copied to clipboard

Event loop is closed

Open ZohnSun opened this issue 1 year ago • 21 comments

pycharm中执行样例总是报线程问题,这个异步是否需要优化一下

Exception ignored in: <function _ProactorBasePipeTransport.del at 0x000001B09421C4C0> Traceback (most recent call last): File "D:\Python\Python39\lib\asyncio\proactor_events.py", line 116, in del self.close() File "D:\Python\Python39\lib\asyncio\proactor_events.py", line 108, in close self._loop.call_soon(self._call_connection_lost, None) File "D:\Python\Python39\lib\asyncio\base_events.py", line 751, in call_soon self._check_closed() File "D:\Python\Python39\lib\asyncio\base_events.py", line 515, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed

ZohnSun avatar Apr 02 '24 03:04 ZohnSun