Module: wine Branch: master Commit: 4eb3ab95c75eb4eb33c01d22affdfd303590d87a URL: https://source.winehq.org/git/wine.git/?a=commit;h=4eb3ab95c75eb4eb33c01d22a...
Author: Haidong Yu yuhaidong@uniontech.com Date: Mon Sep 21 17:55:35 2020 +0800
conhost: Add missing LeaveCriticalSection.
Signed-off-by: Haidong Yu yuhaidong@uniontech.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/conhost/conhost.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/programs/conhost/conhost.c b/programs/conhost/conhost.c index c637b16379..c0a0e08e6d 100644 --- a/programs/conhost/conhost.c +++ b/programs/conhost/conhost.c @@ -1659,6 +1659,7 @@ static DWORD WINAPI tty_input( void *param ) switch (ch) { case 3: /* end of text */ + LeaveCriticalSection( &console_section ); return 0; case '\n': key_press( console, '\n', VK_RETURN, LEFT_CTRL_PRESSED );