| 1552 | } |
| 1553 | |
| 1554 | void WindowImpl::WindowThread(WindowImpl* window, Mutex* mutex, ConditionVariable* condition) |
| 1555 | { |
| 1556 | mutex->Lock(); |
| 1557 | condition->Signal(); |
| 1558 | mutex->Unlock(); // mutex and condition may be destroyed after this line |
| 1559 | |
| 1560 | if (!window->m_window) |
| 1561 | return; |
| 1562 | |
| 1563 | while (window->m_threadActive) |
| 1564 | window->ProcessEvents(true); |
| 1565 | |
| 1566 | window->Destroy(); |
| 1567 | } |
| 1568 | } |
nothing calls this directly
no test coverage detected