conhost: Terminate current read request when input when reading tty input fails.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a33594a048
commit
c6909e5254
|
@ -1637,6 +1637,11 @@ static DWORD WINAPI tty_input( void *param )
|
|||
}
|
||||
|
||||
TRACE( "NtReadFile failed: %#x\n", status );
|
||||
|
||||
EnterCriticalSection( &console_section );
|
||||
if (console->read_ioctl) read_complete( console, status, NULL, 0, FALSE );
|
||||
LeaveCriticalSection( &console_section );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue