Skip to content

Commit

Permalink
Release buffer on close
Browse files Browse the repository at this point in the history
  • Loading branch information
JacekLach committed Sep 2, 2021
1 parent 94ddd9e commit e42e049
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public void seek(long position) throws IOException {

@Override
public void close() throws IOException {
readBuffer = null;
input.close();
}

Expand Down

0 comments on commit e42e049

Please sign in to comment.