@Override protected void handleClose() throws QueryEvaluationException { try { super.handleClose(); } finally { Iterations.closeCloseable(currentIter); } }
@Override public void handleClose() throws QueryEvaluationException { try { super.handleClose(); } finally { done.set(true); do { queue.clear(); // ensure extra room is available } while (!queue.offer(afterLast)); checkException(); } }