VirtualBox

Changeset 36289 in vbox


Ignore:
Timestamp:
Mar 15, 2011 3:38:10 PM (14 years ago)
Author:
vboxsync
Message:

Main/SnapshotImpl: when restoring a snapshot always save the global registry, see xtracker 5578

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/SnapshotImpl.cpp

    r36188 r36289  
    19251925        if (FAILED(rc))
    19261926            throw rc;
    1927         if (fNeedsGlobalSaveSettings)
    1928             mParent->addGuidToListUniquely(llRegistriesThatNeedSaving, mParent->getGlobalRegistryId());
     1927        // unconditionally add the parent registry. We do similar in SessionMachine::EndTakingSnapshot
     1928        // (mParent->saveSettings())
     1929        mParent->addGuidToListUniquely(llRegistriesThatNeedSaving, mParent->getGlobalRegistryId());
    19291930
    19301931        // let go of the locks while we're deleting image files below
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette