mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
forgot synch
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
bce9d1440b
commit
2eef4cc1e7
1 changed files with 9 additions and 6 deletions
|
@ -69,13 +69,16 @@ public:
|
|||
}
|
||||
|
||||
void reset() {
|
||||
m_params.reset();
|
||||
dictionary<params_ref*>::iterator it = m_module_params.begin();
|
||||
dictionary<params_ref*>::iterator end = m_module_params.end();
|
||||
for (; it != end; ++it) {
|
||||
dealloc(it->m_value);
|
||||
#pragma omp critical (gparams)
|
||||
{
|
||||
m_params.reset();
|
||||
dictionary<params_ref*>::iterator it = m_module_params.begin();
|
||||
dictionary<params_ref*>::iterator end = m_module_params.end();
|
||||
for (; it != end; ++it) {
|
||||
dealloc(it->m_value);
|
||||
}
|
||||
m_module_params.reset();
|
||||
}
|
||||
m_module_params.reset();
|
||||
}
|
||||
|
||||
// -----------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue