Fix confserver test and add dev pbr

Fix confserver test and add dev pbr
This commit is contained in:
Brian Martin 2019-05-23 09:20:17 -04:00
parent 588959d1ef
commit 7dc2504f2b
4 changed files with 20 additions and 4 deletions

View file

@ -1219,13 +1219,13 @@ class ConfServer:
except Exception as e:
confserverlog.exception("{}".format(e))
def disconnect(self):
async def disconnect(self):
try:
confserverlog.info("shutting down")
if self.run_async:
self.confthread.join()
else:
self.app.shutdown()
await self.app.shutdown()
except Exception as e:
confserverlog.exception("{}".format(e))