Skip to content

Commit

Permalink
Merge pull request #3937 from armanbilge/topic/worker-thread-cries-wolf
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge authored Jan 9, 2024
2 parents e93ee75 + c884c71 commit 51987ec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/jvm/src/main/scala/cats/effect/unsafe/WorkerThread.scala
Original file line number Diff line number Diff line change
Expand Up @@ -794,10 +794,6 @@ private final class WorkerThread(
* replacement worker thread.
*/
def prepareForBlocking(): Unit = {
val rnd = random

pool.notifyParked(rnd)

if (blocking) {
// This `WorkerThread` has already been prepared for blocking.
// There is no need to spawn another `WorkerThread`.
Expand Down

0 comments on commit 51987ec

Please sign in to comment.