Skip to content

Commit

Permalink
Don't write footer when record is empty (#543)
Browse files Browse the repository at this point in the history
Complements 29a5be1.
  • Loading branch information
dr0i committed Sep 27, 2024
1 parent 29a5be1 commit 0ea6d23
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,9 @@ protected void onResetStream() {

@Override
protected void onCloseStream() {
writeFooter();
if (!atStreamStart) {
writeFooter();
}
sendAndClearData();
}

Expand Down

0 comments on commit 0ea6d23

Please sign in to comment.