Преглед изворни кода

set error if interrupted

tags/v0.1.6
Jonathan Cobb пре 4 година
родитељ
комит
c2302d86f9
1 измењених фајлова са 1 додато и 0 уклоњено
  1. +1
    -0
      bubble-server/src/main/java/bubble/service/dbfilter/EntityIterator.java

+ 1
- 0
bubble-server/src/main/java/bubble/service/dbfilter/EntityIterator.java Прегледај датотеку

@@ -48,6 +48,7 @@ public abstract class EntityIterator implements Iterator<Identifiable> {
try {
return queue.take();
} catch (InterruptedException e) {
error.set(e);
return die("next: queue.take interrupted");
}
}


Loading…
Откажи
Сачувај