3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00

Minor Java API fix.

This commit is contained in:
Christoph M. Wintersteiger 2015-10-14 21:33:30 +01:00
parent 2d3c12716a
commit a71a333722

View file

@ -3809,7 +3809,7 @@ public class Context extends IDisposable
m_intSort = null;
m_realSort = null;
if (m_refCount.get() == 0) {
if (m_refCount.get() == 0 && m_ctx != 0) {
try {
Native.delContext(m_ctx);
} catch (Z3Exception e) {