Skip to content

Commit e9b5803

Browse files
committed
Ensuring thread pool Start() works in the ctr
1 parent 1058ddf commit e9b5803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cpr/threadpool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class ThreadPool {
8787
/**
8888
* The current state for the thread pool.
8989
**/
90-
std::atomic<State> state = State::RUNNING;
90+
std::atomic<State> state = State::STOP;
9191
/**
9292
* The number of threads that should always be in standby or working.
9393
**/

0 commit comments

Comments
 (0)