Commit c6909e52 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

conhost: Terminate current read request when input when reading tty input fails.

parent a33594a0
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment