Sfoglia il codice sorgente

set error if interrupted

tags/v0.1.6
Jonathan Cobb 4 anni fa
parent
commit
c2302d86f9
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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 Vedi File

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


Caricamento…
Annulla
Salva