mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
bug 12039, 12041: forgot one more place. Reviewed-by: kelven
This commit is contained in:
parent
67a2320001
commit
9676947175
@ -714,8 +714,10 @@ public class VmwareStorageManagerImpl implements VmwareStorageManager {
|
||||
|
||||
clonedVm.exportVm(exportPath, exportName, true, true);
|
||||
} finally {
|
||||
if(clonedVm != null)
|
||||
clonedVm.destroy();
|
||||
if(clonedVm != null) {
|
||||
clonedVm.detachAllDisks();
|
||||
clonedVm.destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user