First initiate shutdown for all vm's, then wait
This commit is contained in:
parent
9a36089ee6
commit
696a668bbe
@ -1264,7 +1264,9 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow):
|
||||
for connected_vm in connected_vms:
|
||||
if not self.shutdown_vm(connected_vm):
|
||||
return False
|
||||
|
||||
with common_threads.busy_cursor():
|
||||
for connected_vm in connected_vms:
|
||||
while connected_vm.is_running():
|
||||
time.sleep(0.5)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user