quartz/filesource: Cancel I/O from all threads in IAsyncReader::BeginFlush().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-06-19 20:16:13 -05:00 committed by Alexandre Julliard
parent 5bb661abd3
commit 0523f75933
1 changed files with 1 additions and 1 deletions

View File

@ -1251,7 +1251,7 @@ static HRESULT WINAPI FileAsyncReader_BeginFlush(IAsyncReader * iface)
EnterCriticalSection(&filter->sample_cs);
filter->flushing = TRUE;
CancelIo(filter->file);
CancelIoEx(filter->file, NULL);
SetEvent(filter->handle_list[filter->samples]);
LeaveCriticalSection(&filter->sample_cs);