We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32709c2 commit 4d3cba2Copy full SHA for 4d3cba2
src/main/java/com/pivovarit/collectors/Dispatcher.java
@@ -52,7 +52,7 @@ void start() {
52
started = true;
53
dispatcher.execute(() -> {
54
try {
55
- while (!Thread.currentThread().isInterrupted()) {
+ while (true) {
56
Runnable task;
57
if ((task = workingQueue.take()) != POISON_PILL) {
58
limiter.acquire();
0 commit comments