diff --git a/components/common/cpp/include/ctpl_stl.h b/components/common/cpp/include/ctpl_stl.h index 245c62425fb638553cbdd02244f8deac0625bab5..ebc0a8a1b1035a1d069dd92cb90a4c6851bf4516 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