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:
parent
2d3c12716a
commit
a71a333722
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue