Skip to content

Commit

Permalink
Ensuring thread pool Start() works in the ctr
Browse files Browse the repository at this point in the history
  • Loading branch information
COM8 committed Feb 8, 2025
1 parent 1058ddf commit e9b5803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cpr/threadpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class ThreadPool {
/**
* The current state for the thread pool.
**/
std::atomic<State> state = State::RUNNING;
std::atomic<State> state = State::STOP;
/**
* The number of threads that should always be in standby or working.
**/
Expand Down

0 comments on commit e9b5803

Please sign in to comment.