Changeset 48894 in vbox
- Timestamp:
- Oct 4, 2013 6:59:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIThreadPool.cpp
r48822 r48894 156 156 /* Make sure we have a task or outdated: */ 157 157 bool fOutdated = false; 158 while (! pTask && !fOutdated)158 while (!isTerminating() && !pTask && !fOutdated) 159 159 { 160 160 /* Mark thread as not busy: */ … … 172 172 pTask = m_tasks.dequeue(); 173 173 } 174 Assert( pTask || fOutdated);174 Assert(isTerminating() || pTask || fOutdated); 175 175 176 176 /* Unlock task locker: */
Note:
See TracChangeset
for help on using the changeset viewer.