From 85a54f140deebaff149024edd2a49936fd76d128 Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Sat, 15 Aug 2020 10:13:55 +0300 Subject: [PATCH] Force thread pool stop --- components/common/cpp/include/ctpl_stl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/common/cpp/include/ctpl_stl.h b/components/common/cpp/include/ctpl_stl.h index 245c62425..ebc0a8a1b 100644 --- a/components/common/cpp/include/ctpl_stl.h +++ b/components/common/cpp/include/ctpl_stl.h @@ -81,7 +81,7 @@ namespace ctpl { // the destructor waits for all the functions in the queue to be finished ~thread_pool() { - this->stop(true); + this->stop(false); } // get the number of running threads in the pool -- GitLab