Skip to content

Commit

Permalink
Merge pull request #14 from broadinstitute/vrr_destroyIndex_0L
Browse files Browse the repository at this point in the history
Fixes a bug where index weren't actually cleared from memory once clo…
  • Loading branch information
Valentin Ruano Rubio authored Oct 18, 2017
2 parents e9072dc + adab4f6 commit e18a01c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public void close() {
throw new IllegalStateException("Index image "+indexImageFile+" can't be closed: it's in use.");
}
indexAddress = 0L;
destroyIndex(indexAddress);
destroyIndex(addr);
}
}
}
Expand Down

0 comments on commit e18a01c

Please sign in to comment.