- Timestamp:
- Aug 17, 2009 2:41:04 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 51169
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r22294 r22298 8082 8082 8083 8083 /* saveSettings() needs mParent lock */ 8084 // AutoMultiWriteLock2 alock(mParent, this);8084 AutoMultiWriteLock2 alock(mParent, this); 8085 8085 8086 8086 ComAssertRet (!Global::IsOnlineOrTransient (mData->mMachineState), E_FAIL); … … 8109 8109 if (isModified()) 8110 8110 { 8111 snapshotLock.unlock();8112 treeLock.unlock();8113 8114 AutoWriteLock vboxLock(mParent);8115 8111 rc = saveSettings(); 8116 8112 CheckComRCReturnRC (rc); 8117 vboxLock.unlock();8118 8119 treeLock.lock();8120 snapshotLock.lock();8121 8113 } 8122 8114 } … … 8146 8138 8147 8139 /* set the proper machine state (note: after creating a Task instance) */ 8148 setMachineState 8140 setMachineState(MachineState_Discarding); 8149 8141 8150 8142 /* return the progress to the caller */
Note:
See TracChangeset
for help on using the changeset viewer.