Changeset 27200 in vbox
- Timestamp:
- Mar 9, 2010 10:10:52 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MediumImpl.cpp
r26984 r27200 1373 1373 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 1374 1374 1375 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);1375 // AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 1376 1376 1377 1377 /// @todo update m->description and save the global registry (and local 1378 1378 /// registries of portable VMs referring to this medium), this will also 1379 1379 /// require to add the mRegistered flag to data 1380 1381 NOREF(aDescription); 1380 1382 1381 1383 ReturnComNotImplemented(); … … 2061 2063 } 2062 2064 2065 // make a copy of VirtualBox pointer which gets nulled by uninit() 2066 ComObjPtr<VirtualBox> pVirtualBox(m->pVirtualBox); 2067 2063 2068 /* Keep the locks held until after uninit, as otherwise the consistency 2064 2069 * of the medium tree cannot be guaranteed. */ … … 2070 2075 { 2071 2076 AutoWriteLock vboxlock(m->pVirtualBox COMMA_LOCKVAL_SRC_POS); 2072 m->pVirtualBox->saveSettings();2077 pVirtualBox->saveSettings(); 2073 2078 } 2074 2079
Note:
See TracChangeset
for help on using the changeset viewer.