Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.4.0, 3.3.6, 3.4.1
Description
In LineRecordReader, we may open a filestream:
```
fileIn = FutureIO.awaitFuture(builder.build());
```
However, we may be interrupted or otherwise throw an error before `in` is initialized, for example here:
```
fileIn.seek(start);
```
If this happens, the caller has no way to close this file stream causing it to leak.