- Timestamp:
- Feb 9, 2009 1:38:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VirtualBoxBase.cpp
r16560 r16586 261 261 if (mStateChangeThread == RTThreadSelf()) 262 262 { 263 /* Called from the same thread that is doing AutoInitSpan or264 * Auto UninitSpan,just succeed */263 /* Called from the same thread that is doing AutoInitSpan, 264 * AutoMayUninitSpan or AutoUninitSpan: just succeed */ 265 265 return; 266 266 } 267 267 268 if (mState == InUninit)268 if (mState == MayUninit || mState == InUninit) 269 269 { 270 /* the caller is being released after AutoUninitSpan has begun */ 270 /* the caller is being released after AutoUninitSpan or 271 * AutoMayUninitSpan has begun */ 271 272 AssertMsgReturn (mCallers != 0, ("mCallers is ZERO!"), (void) 0); 272 273 -- mCallers; … … 274 275 if (mCallers == 0) 275 276 { 276 /* inform the Auto UninitSpan ctor there are no more callers */277 /* inform the Auto*UninitSpan ctor there are no more callers */ 277 278 RTSemEventSignal (mZeroCallersSem); 278 279 }
Note:
See TracChangeset
for help on using the changeset viewer.