diff options
-rw-r--r-- | apps/http-proxy/src/http_proxy.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/http-proxy/src/http_proxy.cc b/apps/http-proxy/src/http_proxy.cc index 4afa5b832..4484b5a1a 100644 --- a/apps/http-proxy/src/http_proxy.cc +++ b/apps/http-proxy/src/http_proxy.cc @@ -347,6 +347,8 @@ void HTTPProxy::stop() { for (auto& receiver : receivers_) { receiver->stopAndJoinThread(); } + + signals_.cancel(); } HTTPProxy::HTTPProxy(ClientParams& params, std::size_t n_thread) |