Closed quinnjn closed 10 years ago
fis isn't being referenced. Instead there is another FileInputStream opening and reading the file which is causing a resource leak.
fis
FileInputStream
Fixing by reading form fis, which is closed in the finally scope.
Great catch, that was definitely overlooked. We will add this changed to the next release in the next day or so. Thanks for pointing it out to us.
-Kevin
Awesome! Thanks for the quick reply :+1:
fis
isn't being referenced. Instead there is anotherFileInputStream
opening and reading the file which is causing a resource leak.Fixing by reading form
fis
, which is closed in the finally scope.