Add a timeout so quit doesn't hang.

Kinda like before except now it'll quit faster if possible.
This commit is contained in:
Unknown W. Brackets 2013-02-23 13:32:12 -08:00
parent 7c3c06fd23
commit 3dee0e0149
2 changed files with 3 additions and 3 deletions

View file

@ -89,8 +89,8 @@ void Core_WaitInactive()
void Core_WaitInactive(int milliseconds)
{
// TODO
Core_WaitInactive();
while (!Core_IsInactive())
m_hInactiveEvent.wait_for(m_hInactiveMutex, milliseconds);
}
void Core_RunLoop()

2
native

@ -1 +1 @@
Subproject commit a9a067ef8473628f170dfdab1f7692b53a5f130b
Subproject commit 9c183fcca8416a34d510880d483ccf5f2ec573f4