conhost: Add missing LeaveCriticalSection.
Signed-off-by: Haidong Yu <yuhaidong@uniontech.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5db533d39d
commit
4eb3ab95c7
|
@ -1659,6 +1659,7 @@ static DWORD WINAPI tty_input( void *param )
|
||||||
switch (ch)
|
switch (ch)
|
||||||
{
|
{
|
||||||
case 3: /* end of text */
|
case 3: /* end of text */
|
||||||
|
LeaveCriticalSection( &console_section );
|
||||||
return 0;
|
return 0;
|
||||||
case '\n':
|
case '\n':
|
||||||
key_press( console, '\n', VK_RETURN, LEFT_CTRL_PRESSED );
|
key_press( console, '\n', VK_RETURN, LEFT_CTRL_PRESSED );
|
||||||
|
|
Loading…
Reference in New Issue