Fix restart not awaiting

This commit is contained in:
Dan 2018-06-15 14:30:13 +02:00
parent d06e486c8b
commit d1d789bf20

View File

@ -204,8 +204,8 @@ class Session:
log.debug("Session stopped")
async def restart(self):
self.stop()
self.start()
await self.stop()
await self.start()
async def net_worker(self):
log.info("NetWorkerTask started")