Explorar el Código

set error if interrupted

tags/v0.1.6
Jonathan Cobb hace 4 años
padre
commit
c2302d86f9
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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 Ver fichero

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


Cargando…
Cancelar
Guardar