Changeset 29540 in vbox
- Timestamp:
- May 17, 2010 12:37:33 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Main/SnapshotImpl.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/SnapshotImpl.cpp
r29421 r29540 1703 1703 } 1704 1704 1705 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);1706 1707 /* discard all current changes to mUserData (name, OSType etc.) (note that1708 * the machine is powered off, so there is no need to inform the direct1709 * session) */1710 if (mData->flModifications)1711 rollback(false /* aNotify */);1712 1713 1705 HRESULT rc = S_OK; 1714 1706 … … 1718 1710 try 1719 1711 { 1712 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 1713 1714 /* Discard all current changes to mUserData (name, OSType etc.). 1715 * Note that the machine is powered off, so there is no need to inform 1716 * the direct session. */ 1717 if (mData->flModifications) 1718 rollback(false /* aNotify */); 1719 1720 1720 /* Delete the saved state file if the machine was Saved prior to this 1721 1721 * operation */
Note:
See TracChangeset
for help on using the changeset viewer.

