Cygwin: console: Suppress unnecessary open_shared_console() calls.
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
This commit is contained in:
parent
523985b31e
commit
ce979464f3
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue