Fix final termination of logger

We need to do a bit more finagling with the logger on termination to
ensure that all messages are written and the queue drained before
actually terminating.
This commit is contained in:
2021-07-18 19:53:00 -04:00
parent e23a65128a
commit b770e15a91
2 changed files with 30 additions and 7 deletions

View File

@ -761,6 +761,7 @@ def cleanup():
pass
logger.out('Terminated pvc daemon', state='s')
logger.terminate()
os._exit(0)