Skip to content

Commit

Permalink
Remove superfluous attempt to schedule eviction for the SingleObjectP…
Browse files Browse the repository at this point in the history
…ool when the pool is now empty.

Signed-off-by: Kenneth J. Shackleton <[email protected]>
  • Loading branch information
kennethshackleton committed Sep 1, 2024
1 parent 7d0a5af commit be4a696
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ class SingleObjectPool<K : Any, T : IPooledObject<K>>(
}
}?.let {
factory.destroyObject(it)
attemptScheduleEviction()
}

@GuardedBy("mutex")
Expand Down

0 comments on commit be4a696

Please sign in to comment.