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):
|
async def _run(self):
|
||||||
try:
|
try:
|
||||||
await self.exit_signal.get()
|
await self.exit_signal.get()
|
||||||
|
except asyncio.CancelledError:
|
||||||
|
pass
|
||||||
finally:
|
finally:
|
||||||
log.debug('System._run main loop exit')
|
log.debug('System._run main loop exit')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue