- Timestamp:
- Apr 24, 2018 7:44:43 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImplMoveVM.cpp
r71993 r71995 1089 1089 ComPtr<IProgress> moveDiskProgress; 1090 1090 rc = pMedium->SetLocation(bstrLocation.raw(), moveDiskProgress.asOutParam()); 1091 /* Wait until the async process has finished. */ 1092 rc = m_pProgress->WaitForAsyncProgressCompletion(moveDiskProgress); 1091 if (SUCCEEDED(rc)) 1092 { 1093 /* In case of failure moveDiskProgress would be in the invalid state or not initialized at all 1094 * Call WaitForAsyncProgressCompletion only in success 1095 */ 1096 /* Wait until the async process has finished. */ 1097 rc = m_pProgress->WaitForAsyncProgressCompletion(moveDiskProgress); 1098 } 1093 1099 1094 1100 /*acquire the lock back*/
Note:
See TracChangeset
for help on using the changeset viewer.