3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

reduce contention #2842

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-01-06 20:10:11 -08:00
parent 670e8f8d67
commit f70696d8e7
3 changed files with 4 additions and 3 deletions

View file

@ -35,8 +35,8 @@ static std::mutex g_log_mux;
extern "C" {
void Z3_close_log_unsafe(void) {
if (g_z3_log != nullptr) {
dealloc(g_z3_log);
g_z3_log_enabled = false;
dealloc(g_z3_log);
g_z3_log = nullptr;
}
}