Cygwin: FIFO: stop the listen_client thread on an opening error

Don't just close the thread handle.
This commit is contained in:
Ken Brown 2019-04-20 11:44:01 -04:00
parent 28182bca18
commit 4ecea14a58
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ out:
if (get_handle ()) if (get_handle ())
CloseHandle (get_handle ()); CloseHandle (get_handle ());
if (listen_client_thr) if (listen_client_thr)
CloseHandle (listen_client_thr); stop_listen_client ();
} }
debug_printf ("res %d", res); debug_printf ("res %d", res);
return res == success; return res == success;