Cygwin: console: Suppress unnecessary open_shared_console() calls.

Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
This commit is contained in:
Takashi Yano 2023-03-07 00:18:04 +09:00
parent 523985b31e
commit ce979464f3
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ scan_console (HWND hw, LPARAM lp)
{ {
*p->shared_console_info = cs; *p->shared_console_info = cs;
CloseHandle (h); CloseHandle (h);
return TRUE; return FALSE;
} }
UnmapViewOfFile ((void *) cs); UnmapViewOfFile ((void *) cs);
CloseHandle (h); CloseHandle (h);