- Timestamp:
- Mar 21, 2012 2:06:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/SnapshotImpl.cpp
r40492 r40565 1482 1482 setMachineState(MachineState_Saving); /** @todo Confusing! Saving is used for both online and offline snapshots. */ 1483 1483 1484 alock.release(); 1484 1485 /* create new differencing hard disks and attach them to this machine */ 1485 1486 rc = createImplicitDiffs(aConsoleProgress, … … 1491 1492 // if we got this far without an error, then save the media registries 1492 1493 // that got modified for the diff images 1493 alock.release();1494 1494 mParent->saveModifiedRegistries(); 1495 1495 } … … 1942 1942 } 1943 1943 1944 // release the locks before updating registry and deleting image files1945 alock.release();1946 1947 1944 // save machine settings, reset the modified flag and commit; 1948 1945 bool fNeedsGlobalSaveSettings = false; … … 1953 1950 // unconditionally add the parent registry. We do similar in SessionMachine::EndTakingSnapshot 1954 1951 // (mParent->saveSettings()) 1952 1953 // release the locks before updating registry and deleting image files 1954 alock.release(); 1955 1955 1956 mParent->markRegistryModified(mParent->getGlobalRegistryId()); 1956 1957
Note:
See TracChangeset
for help on using the changeset viewer.