mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 07:37:02 +00:00
quartz/tests: Avoid Sleep().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
64c6761761
commit
7074b411df
1 changed files with 1 additions and 2 deletions
|
@ -330,8 +330,7 @@ static void rungraph(void)
|
|||
hr = IMediaEvent_GetEventHandle(pme, (OAEVENT*)&hEvent);
|
||||
ok(hr==S_OK, "Cannot get event handle returned: %x\n", hr);
|
||||
|
||||
/* WaitForSingleObject(hEvent, INFINITE); */
|
||||
Sleep(20000);
|
||||
ok(WaitForSingleObject(hEvent, 2000) == WAIT_OBJECT_0, "Wait failed\n");
|
||||
|
||||
hr = IMediaEvent_Release(pme);
|
||||
ok(hr==2, "Releasing mediaevent returned: %x\n", hr);
|
||||
|
|
Loading…
Reference in a new issue