Fix confserver test and add dev pbr
Fix confserver test and add dev pbr
This commit is contained in:
parent
588959d1ef
commit
7dc2504f2b
4 changed files with 20 additions and 4 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue