Przeglądaj źródła

set error if interrupted

tags/v0.1.6
Jonathan Cobb 4 lat temu
rodzic
commit
c2302d86f9
1 zmienionych plików z 1 dodań i 0 usunięć
  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 Wyświetl plik

@@ -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");
}
}


Ładowanie…
Anuluj
Zapisz