diff --git a/cpp_utils/src/cpp/thread_pool/pool/SlotThreadPool.cpp b/cpp_utils/src/cpp/thread_pool/pool/SlotThreadPool.cpp index 10ad6154..77c2561a 100644 --- a/cpp_utils/src/cpp/thread_pool/pool/SlotThreadPool.cpp +++ b/cpp_utils/src/cpp/thread_pool/pool/SlotThreadPool.cpp @@ -153,6 +153,10 @@ void SlotThreadPool::thread_routine_() { logDebug(UTILS_THREAD_POOL, "Stopping thread: " << std::this_thread::get_id() << "."); } + catch (const utils::TimeoutException& e) + { + logDebug(UTILS_THREAD_POOL, "Timeout. Stopping thread: " << std::this_thread::get_id() << "."); + } } } /* namespace utils */