From 365e238c2950ded2c5bb0029e2dd3445cf688c1f Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Mon, 16 May 2022 18:56:19 -0400 Subject: [PATCH] Small Fix --- media-layer/proxy/src/server/server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/media-layer/proxy/src/server/server.cpp b/media-layer/proxy/src/server/server.cpp index 3ece1c88..bc1c81e7 100644 --- a/media-layer/proxy/src/server/server.cpp +++ b/media-layer/proxy/src/server/server.cpp @@ -43,6 +43,7 @@ static void sigchld_handler(__attribute__((unused)) int sig) { // Only waitpid() Proxy Client, Other Sub-Processes Are Handled By pclose() if (waitpid(_client_pid, &status, WNOHANG) == _client_pid) { // Handle Client Death + untrack_child(_client_pid); update_client_state(0, status); } errno = saved_errno;