concrt140/tests: Fix race in _Timer tests.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2021-12-13 16:56:06 +01:00 committed by Alexandre Julliard
parent 363508454d
commit a4f86cbf3d
1 changed files with 1 additions and 0 deletions

View File

@ -190,6 +190,7 @@ static void test_Timer(void)
call_func1(p__Timer__Stop, &timer);
ok(!timer.timer, "timer != NULL\n");
call_func1(p__Timer_dtor, &timer);
ResetEvent(callback_called);
call_func3(p__Timer_ctor, &timer, 1, FALSE);
timer.vtable = vtable;