mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-23 14:59:46 +00:00
update services/distributeddataservice/service/object/object_manager.cpp.
Signed-off-by: 郭琦11 <guoqi53@huawei.com>
This commit is contained in:
parent
8b70dc75eb
commit
b9dd1d64a8
@ -796,7 +796,8 @@ void ObjectStoreManager::FlushClosedStore()
|
||||
}
|
||||
delegate_ = nullptr;
|
||||
if (objectDataListener_ != nullptr) {
|
||||
objectDataListener_.clear();
|
||||
delete objectDataListener_;
|
||||
objectDataListener_ = nullptr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user