Removes await from shutdown call

This commit is contained in:
Oleg Silkin 2019-01-09 17:21:59 -06:00 committed by Lex Berezhny
parent 0f1ed589a5
commit d22a2dee33

View file

@ -460,7 +460,7 @@ class Daemon(metaclass=JSONRPCServerType):
await self.handler.shutdown(60.0) await self.handler.shutdown(60.0)
await self.app.cleanup() await self.app.cleanup()
if self.analytics_manager: if self.analytics_manager:
await self.analytics_manager.shutdown() self.analytics_manager.shutdown()
try: try:
self._component_setup_task.cancel() self._component_setup_task.cancel()
except (AttributeError, asyncio.CancelledError): except (AttributeError, asyncio.CancelledError):