Skip to content

Commit

Permalink
[BugFix][Connector-file-sftp] Fix SFTPInputStream.close does not corr…
Browse files Browse the repository at this point in the history
…ectly trigger the closing of the file stream (apache#6323) (apache#6329)
  • Loading branch information
panpan2019 authored and chaorongzhi committed Aug 21, 2024
1 parent 223e343 commit 3176231
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public synchronized void close() throws IOException {
if (closed) {
return;
}
wrappedStream.close();
super.close();
closed = true;
if (!channel.isConnected()) {
Expand Down

0 comments on commit 3176231

Please sign in to comment.