3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-05 21:53:23 +00:00

forgot synch

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-12-04 11:59:46 -08:00
parent bce9d1440b
commit 2eef4cc1e7

View file

@ -69,13 +69,16 @@ public:
} }
void reset() { void reset() {
m_params.reset(); #pragma omp critical (gparams)
dictionary<params_ref*>::iterator it = m_module_params.begin(); {
dictionary<params_ref*>::iterator end = m_module_params.end(); m_params.reset();
for (; it != end; ++it) { dictionary<params_ref*>::iterator it = m_module_params.begin();
dealloc(it->m_value); 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();
} }
// ----------------------------------------------- // -----------------------------------------------