VirtualBox

Changeset 33312 in vbox


Ignore:
Timestamp:
Oct 21, 2010 2:55:50 PM (14 years ago)
Author:
vboxsync
Message:

Main: fix lock order violation saving snapshots in mountMedium() (trunk regression)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r33307 r33312  
    36843684    mMediaData->mAttachments.push_back(attachment);
    36853685
     3686    mediumLock.release();
     3687    treeLock.leave();
     3688
    36863689    if (fNeedsMachineSaveSettings)
    36873690        saveSettings(&fNeedsGlobalSaveSettings, SaveS_Force);
     
    36903693    {
    36913694        // save the global settings; for that we should hold only the VirtualBox lock
    3692         mediumLock.release();
    3693         treeLock.leave();
    36943695        alock.release();
    36953696
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