VirtualBox

Changeset 44041 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Dec 5, 2012 2:27:49 PM (12 years ago)
Author:
vboxsync
Message:

Main/Snapshot: re-add a vital fix for taking snapshots which somehow was lost

File:
1 edited

Legend:

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

    r44039 r44041  
    15041504            throw rc;
    15051505
    1506         // if we got this far without an error, then save the media registries
    1507         // that got modified for the diff images
    1508         mParent->saveModifiedRegistries();
     1506        // MUST NOT save the settings or the media registry here, because
     1507        // this causes trouble with rolling back settings if the user cancels
     1508        // taking the snapshot after the diff images have been created.
    15091509    }
    15101510    catch (HRESULT hrc)
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