MEDIUM: threads: close the thread-waker pipe during deinit

In order to avoid FD leaking, we close the pipe used to wake the threads
up during per thread deinit.
This commit is contained in:
William Lallemand 2018-09-11 10:06:28 +02:00 committed by Willy Tarreau
parent e22f11ff47
commit 333d7979cd

View File

@ -497,6 +497,8 @@ static void deinit_pollers_per_thread()
{ {
free(fd_updt); free(fd_updt);
fd_updt = NULL; fd_updt = NULL;
close(poller_rd_pipe);
close(poller_wr_pipe[tid]);
} }
/* /*