Fixed nasty bug where we weren't closing the underlying PositionalOutputStream in IndexingVariantContextWriter
This commit is contained in:
parent
fbc45e14d3
commit
09df584788
|
|
@ -159,4 +159,10 @@ final class PositionalOutputStream extends OutputStream {
|
||||||
}
|
}
|
||||||
|
|
||||||
public final long getPosition() { return position; }
|
public final long getPosition() { return position; }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void close() throws IOException {
|
||||||
|
super.close();
|
||||||
|
out.close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue