Skip to content

Commit

Permalink
[EXPORTER] Close fs in Task.close() (opensource4you#1819)
Browse files Browse the repository at this point in the history
* close fs in Task.close()

* using Utils.close()
  • Loading branch information
Haser0305 authored Jun 21, 2023
1 parent cdde1b0 commit e5721e1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ private void checkSeekOffset(Record<byte[], byte[]> r) {
protected void close() {
this.closed.set(true);
Utils.packException(() -> writerFuture.toCompletableFuture().get(10, TimeUnit.SECONDS));
Utils.close(this.fs);
}

boolean isWriterDone() {
Expand Down

0 comments on commit e5721e1

Please sign in to comment.