Commit a688c408 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

win32: wait for timer completion when rescheduling

parent 6f3e18d5
......@@ -1067,7 +1067,7 @@ void vlc_timer_schedule (vlc_timer_t timer, bool absolute,
if (timer->handle != INVALID_HANDLE_VALUE)
{
#if !VLC_WINSTORE_APP
DeleteTimerQueueTimer (NULL, timer->handle, NULL);
DeleteTimerQueueTimer (NULL, timer->handle, INVALID_HANDLE_VALUE);
#endif
timer->handle = INVALID_HANDLE_VALUE;
}
......
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