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…
Reference in New Issue