mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-23 06:50:35 +00:00
Signed-off-by: wufengshan <wufengshan@huawei.com>
Changes to be committed:
This commit is contained in:
parent
65e31498e2
commit
c7f0cfa06b
1
LICENSE
1
LICENSE
@ -1,4 +1,3 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
@ -37,6 +37,7 @@ public:
|
||||
|
||||
void GetKvStoreKeys(std::vector<DistributedKv::StoreInfo> &entries) override
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool IsDestruct()
|
||||
|
@ -42,8 +42,10 @@ RdbSyncer::~RdbSyncer() noexcept
|
||||
manager_->CloseStore(delegate_);
|
||||
}
|
||||
delete manager_;
|
||||
manager_ = nullptr;
|
||||
if (observer_ != nullptr) {
|
||||
delete observer_;
|
||||
observer_ = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user