mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
harness del_object #6452
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3d2bf13577
commit
3f2bbe5589
|
@ -51,6 +51,8 @@ namespace api {
|
|||
}
|
||||
|
||||
void context::del_object(api::object* o) {
|
||||
if (!o)
|
||||
return;
|
||||
#ifndef SINGLE_THREAD
|
||||
if (m_concurrent_dec_ref) {
|
||||
lock_guard lock(m_mux);
|
||||
|
|
Loading…
Reference in a new issue