3
0
Fork 0
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:
Thomas Haas 2024-02-17 11:35:38 +01:00
parent 727643c54e
commit a1528aaadd

View file

@ -4329,6 +4329,9 @@ public class Context implements AutoCloseable {
@Override
public void close()
{
if (m_ctx == 0)
return;
m_RefQueue.forceClear();
m_boolSort = null;