Changeset 99466 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 19, 2023 7:42:38 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MediumImpl.cpp
r98847 r99466 1491 1491 Assert(llParentsTodo.size() == 0); 1492 1492 /* Create the list of notifications, parent first. */ 1493 MediaList::const_reverse_iterator itBegin = llMediaTocleanup.rbegin(); 1494 MediaList::const_reverse_iterator itEnd = llMediaTocleanup.rend(); 1495 for (MediaList::const_reverse_iterator it = itBegin; it != itEnd; --it) 1493 for (MediaList::const_reverse_iterator it = llMediaTocleanup.rbegin(); it != llMediaTocleanup.rend(); ++it) 1496 1494 { 1497 1495 ComObjPtr<Medium> pMedium = *it; 1498 1496 AutoCaller mediumCaller(pMedium); 1499 if (FAILED(mediumCaller.hrc())) continue; 1500 const Guid &id = pMedium->i_getId(); 1501 uIdsForNotify.push_back(std::pair<Guid, DeviceType_T>(id, aDeviceType)); 1497 if (mediumCaller.isOk()) 1498 { 1499 const Guid &id = pMedium->i_getId(); 1500 uIdsForNotify.push_back(std::pair<Guid, DeviceType_T>(id, aDeviceType)); 1501 } 1502 1502 } 1503 1503 }
Note:
See TracChangeset
for help on using the changeset viewer.