VirtualBox

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


Ignore:
Timestamp:
Nov 13, 2009 5:38:50 PM (15 years ago)
Author:
vboxsync
Message:

Main: another autolock was done too late in SetGuestProperty

File:
1 edited

Legend:

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

    r24644 r24649  
    92829282    try
    92839283    {
     9284        AutoCaller autoCaller(this);
     9285        CheckComRCReturnRC(autoCaller.rc());
     9286
     9287        AutoWriteLock alock(this);
     9288
     9289        HRESULT rc = checkStateDependency(MutableStateDep);
     9290        CheckComRCReturnRC(rc);
     9291
    92849292        Utf8Str utf8Name(aName);
    92859293        Utf8Str utf8Flags(aFlags);
     
    92939301        if (utf8Patterns.isEmpty())
    92949302            matchAll = true;
    9295 
    9296         AutoCaller autoCaller(this);
    9297         CheckComRCReturnRC(autoCaller.rc());
    9298 
    9299         AutoWriteLock alock(this);
    9300 
    9301         HRESULT rc = checkStateDependency(MutableStateDep);
    9302         CheckComRCReturnRC(rc);
    93039303
    93049304        mHWData.backup();
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