Skip to content

Commit

Permalink
fix: Close read pipe correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
timschneeb committed Mar 25, 2023
1 parent 3999bd2 commit 5fc5e58
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ object DumpUtils {
val reader = InputStreamReader(fd, "UTF-8")
val dump = reader.readText()
reader.close()
readPipe.close()
fd.close()
return dump
}
Expand Down

0 comments on commit 5fc5e58

Please sign in to comment.