fix context session sync do not clear memory
This commit is contained in:
committed by
ob-robot
parent
9cc1cce24d
commit
f2154179ed
@ -1043,6 +1043,7 @@ public:
|
||||
for (auto it = contexts_map_.begin(); it != contexts_map_.end(); ++it) {
|
||||
if (OB_NOT_NULL(it->second)) {
|
||||
it->second->destroy();
|
||||
mem_context_->get_malloc_allocator().free(it->second);
|
||||
}
|
||||
}
|
||||
contexts_map_.reuse();
|
||||
|
||||
Reference in New Issue
Block a user