mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
prevent stale user-propagators from being used on the same tactic after it was applied.
This commit is contained in:
parent
da765355e8
commit
1b0ac4940b
|
@ -140,6 +140,7 @@ public:
|
||||||
~scoped_init_ctx() {
|
~scoped_init_ctx() {
|
||||||
smt::kernel * d = m_owner.m_ctx;
|
smt::kernel * d = m_owner.m_ctx;
|
||||||
m_owner.m_ctx = nullptr;
|
m_owner.m_ctx = nullptr;
|
||||||
|
m_owner.m_user_ctx = nullptr;
|
||||||
|
|
||||||
if (d)
|
if (d)
|
||||||
dealloc(d);
|
dealloc(d);
|
||||||
|
|
Loading…
Reference in a new issue