mirror of
https://github.com/koush/scrypted.git
synced 2026-02-03 14:13:28 +00:00
server: kill python plugin on read loop error
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user