VirtualBox

Changeset 27257 in vbox for trunk/src


Ignore:
Timestamp:
Mar 10, 2010 5:52:24 PM (15 years ago)
Author:
vboxsync
Message:

Main: fix regression from today: assertion when creating VM

File:
1 edited

Legend:

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

    r27256 r27257  
    34553455    HRESULT rc = S_OK;
    34563456
     3457    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
     3458
    34573459    {
    34583460        ComObjPtr<Machine> pMachine;
     
    34763478    if (autoCaller.state() != InInit)
    34773479    {
    3478         // trySetRegistered needs VirtualBox object write lock;
    3479         // it will commit and save machine settings
    3480         AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    34813480        rc = aMachine->trySetRegistered(TRUE);
    34823481        if (FAILED(rc)) 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