Skip to content

Commit 879d60f

Browse files
Mauinakarnokd
authored andcommitted
remove commented out code from IoScheduler (ReactiveX#5268)
1 parent 7bfa6c0 commit 879d60f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/io/reactivex/internal/schedulers/IoScheduler.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,6 @@ public void dispose() {
210210
tasks.dispose();
211211

212212
// releasing the pool should be the last action
213-
// should prevent pool reuse in case there is a blocking
214-
// action not responding to cancellation
215-
// threadWorker.scheduleDirect(() -> {
216-
// pool.release(threadWorker);
217-
// }, 0, TimeUnit.MILLISECONDS);
218-
219213
pool.release(threadWorker);
220214
}
221215
}

0 commit comments

Comments
 (0)