VirtualBox

Changeset 46751 in vbox


Ignore:
Timestamp:
Jun 24, 2013 12:13:53 PM (12 years ago)
Author:
vboxsync
Message:

Main/glue/EventQueue.cpp: fix shutdown logic, must not keep the CritSect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/EventQueue.cpp

    r46717 r46751  
    114114    {
    115115        if (ASMAtomicReadBool(&mShutdown))
     116        {
     117            int rc2 = RTCritSectLeave(&mCritSect);
     118            AssertRC(rc2);
    116119            return VERR_INTERRUPTED;
     120        }
    117121
    118122        if (RT_SUCCESS(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