Skip to content

Commit

Permalink
Reset once, not twice, when resetted once (#543)
Browse files Browse the repository at this point in the history
By not calling the pipe (aka wrapper) but the receiver directly
the stream is only once resetted when called once.

(In conjunction with ObjectFileWriter and StreamBatchResetter this bug
had resulted in as many empty files as non-empty ones.)

Complements 04f8410fddceeefce5e228eb5d1866a82dff1687.
  • Loading branch information
dr0i committed Sep 27, 2024
1 parent f63b40e commit 04a6312
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public void literal(final String name, final String value) {

@Override
protected void onResetStream() {
pipe.resetStream();
encoder.onResetStream();
}

@Override
Expand Down

0 comments on commit 04a6312

Please sign in to comment.