Skip to content

Commit

Permalink
fix(s3stream): fix duplicated release (#459)
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Han <hanxvdovehx@gmail.com>
  • Loading branch information
superhx authored Oct 25, 2023
1 parent e585bd7 commit adb5b70
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ public boolean hasBatchingPart() {
@Override
public CompletableFuture<Void> close() {
FutureUtil.propagate(operator.write(path, data, throttleStrategy), cf);
cf.whenComplete((nil, ex) -> data.release());
return cf;
}

Expand Down

0 comments on commit adb5b70

Please sign in to comment.