Oops, fix potential shutdown hang.

This commit is contained in:
Unknown W. Brackets committed 2013-03-30 22:36:28 -07:00
1 parent 8f911a0ebe
commit ba131f7ffb
1 file changed
+1 -2
+1 -2
View File
@@ -83,8 +83,7 @@ void Core_WaitInactive()
void Core_WaitInactive(int milliseconds)
{
while (!Core_IsInactive())
m_hInactiveEvent.wait_for(m_hInactiveMutex, milliseconds);
m_hInactiveEvent.wait_for(m_hInactiveMutex, milliseconds);
}
void UpdateScreenScale() {