From b513e07c55504f623baf8d838d00ac628eac7614 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sun, 7 Jun 2015 20:15:20 +0200 Subject: [PATCH] quartz: Fix handling of periodic advice timers. --- dlls/quartz/systemclock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/quartz/systemclock.c b/dlls/quartz/systemclock.c index 043299bb0ad..cdb06f7a0e0 100644 --- a/dlls/quartz/systemclock.c +++ b/dlls/quartz/systemclock.c @@ -127,6 +127,7 @@ static DWORD WINAPI SystemClockAdviseThread(LPVOID lpParam) { it = nextit; } if (NULL != it) timeOut = (DWORD) ((it->rtBaseTime + it->rtIntervalTime) - curTime) / (REFERENCE_TIME)10000; + else timeOut = INFINITE; /** Now Periodics Advice: semi sorted list (sort cannot be used) */ for (it = This->pPeriodicAdvise; NULL != it; it = it->next) { -- 2.11.4.GIT