Skip to content

Commit

Permalink
Consume remaining chunks too
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveCTurner committed Nov 30, 2022
1 parent 0aac861 commit 8c61355
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public ReleasableBytesReference encodeChunk(int sizeHint, Recycler<BytesRef> rec
assert false : "failure encoding chunk";
IOUtils.closeWhileHandlingException(target);
target = null;
serialization.forEachRemaining(ignored -> {});
}
}
}
Expand Down

0 comments on commit 8c61355

Please sign in to comment.