VirtualBox

Changeset 42109 in vbox


Ignore:
Timestamp:
Jul 11, 2012 1:28:52 PM (13 years ago)
Author:
vboxsync
Message:

Main/Medium: fix excessive settings saving as part of Medium::deleteStorage, and adjusted all necessary callers (only one change needed, as all other places save the media registries already in one way or another)

Location:
trunk/src/VBox/Main/src-server
Files:
2 edited

Legend:

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

    r41214 r42109  
    13951395        /* Delete the machine folder when not empty. */
    13961396        RTDirRemove(strTrgMachineFolder.c_str());
     1397
     1398        /* Must save the modified registries */
     1399        p->mParent->saveModifiedRegistries();
    13971400    }
    13981401
  • trunk/src/VBox/Main/src-server/MediumImpl.cpp

    r41243 r42109  
    42414241        multilock.release();
    42424242        markRegistriesModified();
    4243         m->pVirtualBox->saveModifiedRegistries();
    42444243
    42454244        if (aProgress != NULL)
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