fix context session sync do not clear memory

This commit is contained in:
18523270951@163.com
2023-08-29 04:44:23 +00:00
committed by ob-robot
parent 9cc1cce24d
commit f2154179ed

View File

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