VirtualBox

Changeset 26084 in vbox


Ignore:
Timestamp:
Jan 28, 2010 1:59:20 PM (15 years ago)
Author:
vboxsync
Message:

Main: fix locking order violation when loading USB filters

File:
1 edited

Legend:

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

    r26046 r26084  
    611611 *  @param aMachineNode <Machine> node.
    612612 *
    613  *  @note Locks this object for writing.
     613 *  @note Does not lock "this" as Machine::loadHardware, which calls this, does not lock either.
    614614 */
    615615HRESULT USBController::loadSettings(const settings::USBController &data)
     
    617617    AutoCaller autoCaller(this);
    618618    AssertComRCReturnRC(autoCaller.rc());
    619 
    620     AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    621619
    622620    /* Note: we assume that the default values for attributes of optional
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