Don't crash cleanup if no this_node
This commit is contained in:
parent
d582f87472
commit
bc6395c959
|
@ -207,9 +207,13 @@ def entrypoint():
|
|||
|
||||
# Waiting for any flushes to complete
|
||||
logger.out('Waiting for any active flushes', state='s')
|
||||
if this_node is not None:
|
||||
while this_node.flush_thread is not None:
|
||||
sleep(0.5)
|
||||
try:
|
||||
if this_node is not None:
|
||||
while this_node.flush_thread is not None:
|
||||
sleep(0.5)
|
||||
except Exception:
|
||||
# We really don't care here, just proceed
|
||||
pass
|
||||
|
||||
# Stop console logging on all VMs
|
||||
logger.out('Stopping domain console watchers', state='s')
|
||||
|
|
Loading…
Reference in New Issue