VirtualBox

Changeset 8057

Show
Ignore:
Timestamp:
04/16/08 20:27:38 (7 months ago)
Author:
vboxsync
Message:

Main: Fixed another self-deadlock (requesting write before releasing read).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Main/SessionImpl.cpp

    r7207 r8057  
    126126    } 
    127127 
     128    /* close() needs write lock */ 
    128129    AutoLock alock (this); 
    129130 
     
    458459    if (autoCaller.state() == Ready) 
    459460    { 
    460         AutoReaderLock alock (this); 
     461        /* close() needs write lock */ 
     462        AutoLock alock (this); 
    461463 
    462464        LogFlowThisFunc (("mState=%d, mType=%d\n", mState, mType)); 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy