Remove VM files when clone failed
This commit is contained in:
parent
c0718a484d
commit
0381a54156
@ -1444,6 +1444,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
|
||||
except Exception as ex:
|
||||
if dst_vm:
|
||||
self.qvm_collection.pop(dst_vm.qid)
|
||||
dst_vm.remove_from_disk()
|
||||
self.qvm_collection.unlock_db()
|
||||
thread_monitor.set_error_msg(str(ex))
|
||||
thread_monitor.set_finished()
|
||||
|
Loading…
Reference in New Issue
Block a user