Skip to content

Commit

Permalink
Fix of issue apache#4725
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Casters committed Dec 18, 2024
1 parent 30c4364 commit 17d9de6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public boolean processRow() throws HopException {
}

public void closeFile() {
if (!data.readerClosed) {
if (!data.readerClosed && data.reader != null && data.inputStream != null) {
try {
data.reader.close();
data.inputStream.close();
Expand Down

0 comments on commit 17d9de6

Please sign in to comment.