Skip to content

Commit

Permalink
Fixed joinStoppedThreads() getting stuck
Browse files Browse the repository at this point in the history
  • Loading branch information
COM8 committed Feb 8, 2025
1 parent cea908c commit 1058ddf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpr/threadpool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ void ThreadPool::joinStoppedThreads() {
}
iter = workers.erase(iter);
workerJoinReadyCount--;
} else {
iter++;
}
}
}
Expand Down

0 comments on commit 1058ddf

Please sign in to comment.