Commit 3e5f7f49 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

winmm: Wake up timer after the timer list is empty.

parent 163c7021
......@@ -369,8 +369,11 @@ MMRESULT WINAPI timeKillEvent(UINT wID)
break;
}
}
if (list_empty(&timer_list))
if (list_empty(&timer_list)) {
char c = 'q';
TIME_TimeToDie = 1;
write(TIME_fdWake[1], &c, sizeof(c));
}
LeaveCriticalSection(&WINMM_cs);
if (!lpSelf)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment