3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

attempt at more graceful timeout handling #4821

This commit is contained in:
Nikolaj Bjorner 2020-11-26 06:33:44 -08:00
parent d6a5ef4343
commit b5a6c6bc66
2 changed files with 9 additions and 3 deletions

View file

@ -166,7 +166,7 @@ extern "C" {
mk_c(c)->handle_exception(ex);
}
r = l_undef;
if (ex.msg() == std::string("canceled") && !mk_c(c)->m().inc()) {
if (!mk_c(c)->m().inc()) {
to_optimize_ptr(o)->set_reason_unknown(ex.msg());
}
else {