server: kill python plugin on read loop error

This commit is contained in:
Koushik Dutta
2022-01-07 09:58:22 -08:00
parent 182ed6ad71
commit 92d575dec9

View File

@@ -286,7 +286,7 @@ async def readLoop(loop, peer, reader):
asyncio.run_coroutine_threadsafe(peer.handleMessage(message), loop)
except Exception as e:
print('read loop error', e)
pass
sys.exit()
async def async_main(loop: AbstractEventLoop):