Skip to content

Commit

Permalink
ensuring reasoner is disposed at end
Browse files Browse the repository at this point in the history
  • Loading branch information
cmungall committed Aug 5, 2017
1 parent 8798d4b commit 87e071b
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -153,6 +153,10 @@ static Set<OWLClass> getAspect(OWLGraphWrapper graph, String aspect) {
@Override
public void close() throws IOException {
graph.close();
if (reasoner != null) {
reasoner.dispose();
}

}

@Override
Expand Down

0 comments on commit 87e071b

Please sign in to comment.