mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
check for cancellation before internalizing and during to avoid errors. Issue #625
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
236f1c2a3e
commit
3aea63edb1
|
@ -2939,7 +2939,7 @@ namespace smt {
|
|||
if (!m_asserted_formulas.inconsistent()) {
|
||||
unsigned sz = m_asserted_formulas.get_num_formulas();
|
||||
unsigned qhead = m_asserted_formulas.get_qhead();
|
||||
while (qhead < sz) {
|
||||
while (qhead < sz && !m_manager.canceled()) {
|
||||
expr * f = m_asserted_formulas.get_formula(qhead);
|
||||
proof * pr = m_asserted_formulas.get_formula_proof(qhead);
|
||||
internalize_assertion(f, pr, 0);
|
||||
|
|
Loading…
Reference in a new issue