mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-27 00:51:12 +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
|
Apache License
|
||||||
Version 2.0, January 2004
|
Version 2.0, January 2004
|
||||||
http://www.apache.org/licenses/
|
http://www.apache.org/licenses/
|
||||||
|
@ -37,6 +37,7 @@ public:
|
|||||||
|
|
||||||
void GetKvStoreKeys(std::vector<DistributedKv::StoreInfo> &entries) override
|
void GetKvStoreKeys(std::vector<DistributedKv::StoreInfo> &entries) override
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsDestruct()
|
bool IsDestruct()
|
||||||
|
@ -42,8 +42,10 @@ RdbSyncer::~RdbSyncer() noexcept
|
|||||||
manager_->CloseStore(delegate_);
|
manager_->CloseStore(delegate_);
|
||||||
}
|
}
|
||||||
delete manager_;
|
delete manager_;
|
||||||
|
manager_ = nullptr;
|
||||||
if (observer_ != nullptr) {
|
if (observer_ != nullptr) {
|
||||||
delete observer_;
|
delete observer_;
|
||||||
|
observer_ = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user