Skip to content

Commit

Permalink
prevent stale user-propagators from being used on the same tactic aft…
Browse files Browse the repository at this point in the history
…er it was applied.
  • Loading branch information
NikolajBjorner committed Dec 4, 2021
1 parent da76535 commit 1b0ac49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/smt/tactic/smt_tactic_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ class smt_tactic : public tactic {
~scoped_init_ctx() {
smt::kernel * d = m_owner.m_ctx;
m_owner.m_ctx = nullptr;
m_owner.m_user_ctx = nullptr;

if (d)
dealloc(d);
Expand Down

0 comments on commit 1b0ac49

Please sign in to comment.