3
0
Fork 0
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:
Nikolaj Bjorner 2022-11-14 08:54:08 -08:00
parent 3d2bf13577
commit 3f2bbe5589

View file

@ -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);