Skip to content

Commit

Permalink
remove commented out code from IoScheduler (#5268)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauin authored and akarnokd committed Apr 6, 2017
1 parent 7bfa6c0 commit 879d60f
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,6 @@ public void dispose() {
tasks.dispose();

// releasing the pool should be the last action
// should prevent pool reuse in case there is a blocking
// action not responding to cancellation
// threadWorker.scheduleDirect(() -> {
// pool.release(threadWorker);
// }, 0, TimeUnit.MILLISECONDS);

pool.release(threadWorker);
}
}
Expand Down

0 comments on commit 879d60f

Please sign in to comment.