mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
moving to resource managed cancellation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
96d1066c6a
commit
1aea9722cb
7 changed files with 13 additions and 12 deletions
|
@ -575,7 +575,7 @@ template<bool ProofGen>
|
|||
void rewriter_tpl<Config>::resume_core(expr_ref & result, proof_ref & result_pr) {
|
||||
SASSERT(!frame_stack().empty());
|
||||
while (!frame_stack().empty()) {
|
||||
if (!m().canceled()) {
|
||||
if (m().canceled()) {
|
||||
if (m().limit().cancel_flag_set()) {
|
||||
throw rewriter_exception(Z3_CANCELED_MSG);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue