mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +00:00
call dispose on sorts #5900
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
cb9dcb799f
commit
cd5e114ed3
1 changed files with 4 additions and 0 deletions
|
@ -4927,6 +4927,10 @@ namespace Microsoft.Z3
|
||||||
Fixedpoint_DRQ.Clear(this);
|
Fixedpoint_DRQ.Clear(this);
|
||||||
Optimize_DRQ.Clear(this);
|
Optimize_DRQ.Clear(this);
|
||||||
|
|
||||||
|
if (m_boolSort != null) m_boolSort.Dispose();
|
||||||
|
if (m_intSort != null) m_intSort.Dispose();
|
||||||
|
if (m_realSort != null) m_realSort.Dispose();
|
||||||
|
if (m_stringSort != null) m_stringSort.Dispose();
|
||||||
m_boolSort = null;
|
m_boolSort = null;
|
||||||
m_intSort = null;
|
m_intSort = null;
|
||||||
m_realSort = null;
|
m_realSort = null;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue