Changeset 46652 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 19, 2013 12:09:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/EventQueue.cpp
r46649 r46652 58 58 (*it)->Release(); 59 59 it = mEvents.erase(it); 60 60 } 61 61 } 62 62 … … 95 95 int rc2 = RTCritSectLeave(&mCritSect); 96 96 AssertRC(rc2); 97 } 98 } 97 } 98 } 99 else 100 fWait = false; 99 101 100 102 if (fWait) … … 129 131 pEvent->handler(); 130 132 pEvent->Release(); 131 }132 else133 {133 } 134 else 135 { 134 136 int rc2 = RTCritSectLeave(&mCritSect); 135 137 if (RT_SUCCESS(rc)) 136 138 rc = rc2; 137 }138 }139 } 140 } 139 141 } 140 142 … … 168 170 if (RT_SUCCESS(rc)) 169 171 { 170 try172 try 171 173 { 172 174 if (pEvent)
Note:
See TracChangeset
for help on using the changeset viewer.