mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +00:00
ensure limit children are safe for race conditions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f8a804ba56
commit
4132fc2d91
6 changed files with 51 additions and 33 deletions
|
@ -37,6 +37,7 @@ class aig_tactic : public tactic {
|
|||
|
||||
~mk_aig_manager() {
|
||||
dealloc(m_owner.m_aig_manager);
|
||||
m_owner.m_aig_manager = 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -182,12 +182,8 @@ public:
|
|||
|
||||
virtual void cleanup() {
|
||||
ast_manager & m = m_imp->m;
|
||||
imp * d = m_imp;
|
||||
m_imp = 0;
|
||||
|
||||
dealloc(d);
|
||||
d = alloc(imp, m, m_params);
|
||||
m_imp = d;
|
||||
dealloc(m_imp);
|
||||
m_imp = alloc(imp, m, m_params);
|
||||
}
|
||||
|
||||
static void blast_term_ite(expr_ref& fml) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue