VirtualBox

Changeset 40542 in vbox for trunk/src


Ignore:
Timestamp:
Mar 19, 2012 4:11:41 PM (13 years ago)
Author:
vboxsync
Message:

Main/Medium: Update medium registries when closing/deleting a medium. Regression.

File:
1 edited

Legend:

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

    r40506 r40542  
    40844084        rc = unregisterWithVirtualBox();
    40854085        if (FAILED(rc)) return rc;
     4086
     4087        multilock.release();
     4088        markRegistriesModified();
     4089        m->pVirtualBox->saveModifiedRegistries();
     4090        multilock.acquire();
    40864091    }
    40874092
     
    42324237        // no longer need lock
    42334238        multilock.release();
     4239        markRegistriesModified();
     4240        m->pVirtualBox->saveModifiedRegistries();
    42344241
    42354242        if (aProgress != NULL)
     
    57885795        }
    57895796    }
    5790     m->pVirtualBox->saveModifiedRegistries();
    57915797
    57925798    return rc;
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