mirror of
https://github.com/Z3Prover/z3
synced 2025-06-15 18:36:16 +00:00
parent
a71a333722
commit
ef80645a71
1 changed files with 9 additions and 7 deletions
|
@ -3809,6 +3809,7 @@ public class Context extends IDisposable
|
||||||
m_intSort = null;
|
m_intSort = null;
|
||||||
m_realSort = null;
|
m_realSort = null;
|
||||||
|
|
||||||
|
synchronized (creation_lock) {
|
||||||
if (m_refCount.get() == 0 && m_ctx != 0) {
|
if (m_refCount.get() == 0 && m_ctx != 0) {
|
||||||
try {
|
try {
|
||||||
Native.delContext(m_ctx);
|
Native.delContext(m_ctx);
|
||||||
|
@ -3820,3 +3821,4 @@ public class Context extends IDisposable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue