Fixed nasty bug where we weren't closing the underlying PositionalOutputStream in IndexingVariantContextWriter

This commit is contained in:
Mark DePristo 2012-06-14 09:42:11 -04:00
parent fbc45e14d3
commit 09df584788
1 changed files with 6 additions and 0 deletions

View File

@ -159,4 +159,10 @@ final class PositionalOutputStream extends OutputStream {
}
public final long getPosition() { return position; }
@Override
public void close() throws IOException {
super.close();
out.close();
}
}