3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-19 07:06:28 +00:00

check for lease expiration before checking for m.inc()

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2026-06-15 16:00:26 -06:00
parent 48ae786c4c
commit fc5e4d7557

View file

@ -1171,10 +1171,6 @@ class parallel_solver {
if (m_config.m_global_backbones) {
bb_candidates local_candidates = find_backbone_candidates(cube);
b.collect_backbone_candidates(m_l2g, local_candidates);
if (!m.inc()) {
b.set_cancel();
return;
}
}
lbool r = check_cube(cube);
@ -1185,11 +1181,14 @@ class parallel_solver {
continue;
}
// NSB - at this point it shouldn't be possible to call inc_cancel.
// Is this ensured? I am not sure.
if (!m.inc()) {
b.set_cancel();
return;
}
switch (r) {
case l_undef: {