3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00

fix model return after shutdown, reported in #4532

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-07-27 23:48:19 -07:00
parent b71a64365d
commit 8857a67e4f
3 changed files with 10 additions and 2 deletions

View file

@ -433,6 +433,9 @@ private:
}
m_models.push_back(mdl.get());
}
else if (m_models.empty()) {
m_has_undef = true;
}
if (!m_allsat) {
m_queue.shutdown();
}