wineconsole: Ignore ERROR_IO_INCOMPLETE error in WINECON_GrabChanges.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-07-24 20:39:53 +02:00 committed by Alexandre Julliard
parent 0d42388095
commit 928fffee8d
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ void WINECON_GrabChanges(struct inner_data* data)
if (!GetOverlappedResult(data->hSynchro, &data->overlapped, &num, FALSE)) if (!GetOverlappedResult(data->hSynchro, &data->overlapped, &num, FALSE))
{ {
if (GetLastError() == ERROR_IO_INCOMPLETE) return;
ERR( "failed to get renderer events: %u\n", GetLastError() ); ERR( "failed to get renderer events: %u\n", GetLastError() );
data->dying = TRUE; data->dying = TRUE;
return; return;