Commit 1d2c29df authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

conhost: Don't create tty input thread if we don't have tty_input handle.

parent a9001784
......@@ -1719,6 +1719,7 @@ done:
static BOOL ensure_tty_input_thread( struct console *console )
{
if (!console->tty_input) return TRUE;
if (!console->input_thread)
console->input_thread = CreateThread( NULL, 0, tty_input, console, 0, NULL );
return console->input_thread != NULL;
......
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