mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
Cygwin: FIFO: stop the listen_client thread on an opening error
Don't just close the thread handle.
This commit is contained in:
parent
28182bca18
commit
4ecea14a58
@ -563,7 +563,7 @@ out:
|
||||
if (get_handle ())
|
||||
CloseHandle (get_handle ());
|
||||
if (listen_client_thr)
|
||||
CloseHandle (listen_client_thr);
|
||||
stop_listen_client ();
|
||||
}
|
||||
debug_printf ("res %d", res);
|
||||
return res == success;
|
||||
|
Loading…
x
Reference in New Issue
Block a user