mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
hardening pop abuse and exception safety for #1776
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
13390e2c3a
commit
fdcedee887
3 changed files with 4 additions and 3 deletions
|
@ -2877,6 +2877,7 @@ namespace smt {
|
|||
|
||||
void context::push() {
|
||||
TRACE("trigger_bug", tout << "context::push()\n";);
|
||||
scoped_suspend_rlimit _suspend_cancel(m_manager.limit());
|
||||
pop_to_base_lvl();
|
||||
setup_context(false);
|
||||
bool was_consistent = !inconsistent();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue