Skip to content

Commit 72b0691

Browse files
author
BaierD
committed
Improve SMTInterpol prover cleanup when closing
1 parent 7fd6aa7 commit 72b0691

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/org/sosy_lab/java_smt/solvers/smtinterpol/SmtInterpolAbstractProver.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ public ImmutableMap<String, String> getStatistics() {
217217
public void close() {
218218
if (!closed) {
219219
annotatedTerms.clear();
220-
env.pop(size());
220+
env.resetAssertions();
221+
env.exit();
221222
}
222223
super.close();
223224
}

0 commit comments

Comments
 (0)