winmm: Wake up timer after the timer list is empty.
This commit is contained in:
parent
163c7021b1
commit
3e5f7f49fe
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue