mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-11-23 08:00:07 +00:00
!2261 析构中无需对数据库监听进行去注册
Merge pull request !2261 from dingxiaochen/master
This commit is contained in:
commit
73d56487b9
@ -63,7 +63,6 @@ NetworkSearchManager::~NetworkSearchManager()
|
||||
for (int32_t slotId = 0; slotId < SIM_SLOT_COUNT; slotId++) {
|
||||
std::shared_ptr<NetworkSearchManagerInner> inner = FindManagerInner(slotId);
|
||||
if (inner != nullptr) {
|
||||
inner->UnRegisterSetting();
|
||||
inner->UnRegisterDeviceStateObserver();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user