Changeset 79154 in vbox
- Timestamp:
- Jun 14, 2019 3:38:34 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 131323
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/SnapshotImpl.cpp
r78829 r79154 2415 2415 2416 2416 ComObjPtr<Medium> pParent = pMedium->i_getParent(); 2417 // store the id here because it becomes NULL after deleting storage. 2418 com::Guid id = pMedium->i_getId(); 2417 2419 HRESULT rc2 = pMedium->i_deleteStorage(NULL /* aProgress */, 2418 2420 true /* aWait */, … … 2422 2424 { 2423 2425 pMediumsForNotify.insert(pParent); 2424 uIdsForNotify[ pMedium->i_getId()] = std::pair<DeviceType_T, BOOL>(pMedium->i_getDeviceType(), FALSE);2426 uIdsForNotify[id] = std::pair<DeviceType_T, BOOL>(pMedium->i_getDeviceType(), FALSE); 2425 2427 pMedium->uninit(); 2426 2428 }
Note:
See TracChangeset
for help on using the changeset viewer.