From e9b580376ad8387da662f572470f61f0ac8f3a63 Mon Sep 17 00:00:00 2001 From: Fabian Sauter Date: Sat, 8 Feb 2025 10:18:43 +0100 Subject: [PATCH] Ensuring thread pool Start() works in the ctr --- include/cpr/threadpool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cpr/threadpool.h b/include/cpr/threadpool.h index a07f76fea..061e6a149 100644 --- a/include/cpr/threadpool.h +++ b/include/cpr/threadpool.h @@ -87,7 +87,7 @@ class ThreadPool { /** * The current state for the thread pool. **/ - std::atomic state = State::RUNNING; + std::atomic state = State::STOP; /** * The number of threads that should always be in standby or working. **/