mirror of
https://github.com/Z3Prover/z3
synced 2025-04-26 10:35:33 +00:00
parent
58d3329190
commit
2d3c12716a
2 changed files with 18 additions and 20 deletions
|
@ -53,7 +53,8 @@ public class Z3Object extends IDisposable
|
|||
|
||||
if (m_ctx != null)
|
||||
{
|
||||
m_ctx.m_refCount.decrementAndGet();
|
||||
if (m_ctx.m_refCount.decrementAndGet() == 0)
|
||||
m_ctx.dispose();
|
||||
m_ctx = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue