- Timestamp:
- Mar 23, 2009 5:36:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r18115 r18158 7768 7768 } 7769 7769 7770 /* rollback any changes to devices after restoring the list */ 7771 StorageControllerList::const_iterator it = mStorageControllers->begin(); 7772 while (it != mStorageControllers->end()) 7773 { 7774 if ((*it)->isModified()) 7775 (*it)->rollback(); 7776 7777 ++ it; 7770 if (!mStorageControllers.isNull()) 7771 { 7772 /* rollback any changes to devices after restoring the list */ 7773 StorageControllerList::const_iterator it = mStorageControllers->begin(); 7774 while (it != mStorageControllers->end()) 7775 { 7776 if ((*it)->isModified()) 7777 (*it)->rollback(); 7778 7779 ++ it; 7780 } 7778 7781 } 7779 7782
Note:
See TracChangeset
for help on using the changeset viewer.