Repair missed case of catching CancelledError
This commit is contained in:
parent
420868eae7
commit
92027e94a9
|
@ -46,6 +46,8 @@ class System:
|
|||
async def _run(self):
|
||||
try:
|
||||
await self.exit_signal.get()
|
||||
except asyncio.CancelledError:
|
||||
pass
|
||||
finally:
|
||||
log.debug('System._run main loop exit')
|
||||
|
||||
|
|
Loading…
Reference in New Issue