VirtualBox

Changeset 71376 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Mar 19, 2018 4:43:09 PM (7 years ago)
Author:
vboxsync
Message:

Main/Machine: bugref:8345 Release Machine lock early enough, since setting the medium location needs higher priority one.

File:
1 edited

Legend:

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

    r71315 r71376  
    10081008            if (FAILED(rc)) throw rc;
    10091009
     1010            /* Drop lock early because IMedium::SetLocation needs to get the VirtualBox one. */
     1011            machineLock.release();
     1012
    10101013            ComPtr<IProgress> moveDiskProgress;
    10111014            rc = pMedium->SetLocation(bstrLocation.raw(), moveDiskProgress.asOutParam());
    10121015            /* Wait until the async process has finished. */
    1013             machineLock.release();
    10141016
    10151017            rc = m_pProgress->WaitForAsyncProgressCompletion(moveDiskProgress);
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