mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 08:35:31 +00:00
Made Context.close idempotent (as recommended)
This commit is contained in:
parent
727643c54e
commit
a1528aaadd
1 changed files with 3 additions and 0 deletions
|
@ -4329,6 +4329,9 @@ public class Context implements AutoCloseable {
|
|||
@Override
|
||||
public void close()
|
||||
{
|
||||
if (m_ctx == 0)
|
||||
return;
|
||||
|
||||
m_RefQueue.forceClear();
|
||||
|
||||
m_boolSort = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue