From 06387f3be811855d134ab8a3392fa0e6ac968034 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 9 Jul 2025 10:32:10 -0400 Subject: [PATCH] MT#63171 tcp: join threads after stop Don't just signal them to stop but wait for them to actually stop. Change-Id: I8f1ede904262bb8d0809ebfff3892da54e9a966f --- core/sip/tcp_trsp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/sip/tcp_trsp.cpp b/core/sip/tcp_trsp.cpp index 3ba29b30..6ef372a9 100644 --- a/core/sip/tcp_trsp.cpp +++ b/core/sip/tcp_trsp.cpp @@ -709,6 +709,7 @@ void tcp_server_socket::stop_threads() { for(unsigned int i=0; istop(); + workers[i]->join(); } }