mirror of
https://github.com/apache/cloudstack
synced 2026-09-02 09:31:53 +00: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…
Reference in New Issue
Block a user