Avoid resource leaks
travisbrown opened this issue · 1 comments
travisbrown commented
Right now in some of the FileModule
read
method implementations (for example), if a FileReader
is instantiated successfully but then new BufferedReader(...)
fails, the FileReader
will not be closed.
This is kind of a corner case but it should be fixed.
travisbrown commented
Fixed in #121.