Skip to content

Commit f0453c5

Browse files
zhuxiaolong37huiguangjun
authored andcommitted
Increase IO stream close (#498)
1 parent 93b00bb commit f0453c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/aliyun/oss/internal/OSSObjectOperation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ public SelectObjectMetadata createSelectObjectMetadata(CreateSelectObjectMetadat
243243
while (warppedStream.read() != -1) {
244244
//read until eof
245245
}
246+
warppedStream.close();
246247
return selectObjectMetadata;
247248
} catch (IOException e) {
248249
publishProgress(selectProgressListener, ProgressEventType.SELECT_FAILED_EVENT);

0 commit comments

Comments
 (0)