稳定性问题修复,删除无意义的clear

Signed-off-by: taojuncun <taojuncun@huawei.com>
This commit is contained in:
taojuncun 2024-08-03 09:25:44 +08:00
parent 26ba559373
commit 2a94b8b080
6 changed files with 2 additions and 10 deletions

View File

@ -101,8 +101,6 @@ StoreElementData AccessibilityElementOperatorCallbackStub::storeElementData;
AccessibilityElementOperatorCallbackStub::~AccessibilityElementOperatorCallbackStub()
{
HILOG_DEBUG();
memberFuncMap_.clear();
}
int AccessibilityElementOperatorCallbackStub::OnRemoteRequest(uint32_t code, MessageParcel &data,

View File

@ -77,8 +77,6 @@ AccessibilityElementOperatorStub::AccessibilityElementOperatorStub()
AccessibilityElementOperatorStub::~AccessibilityElementOperatorStub()
{
HILOG_DEBUG();
memberFuncMap_.clear();
}
int AccessibilityElementOperatorStub::OnRemoteRequest(uint32_t code, MessageParcel &data,

View File

@ -90,8 +90,6 @@ AccessibleAbilityChannelStub::AccessibleAbilityChannelStub()
AccessibleAbilityChannelStub::~AccessibleAbilityChannelStub()
{
HILOG_DEBUG();
memberFuncMap_.clear();
}
int AccessibleAbilityChannelStub::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply,

View File

@ -59,8 +59,6 @@ AccessibleAbilityClientStub::AccessibleAbilityClientStub()
AccessibleAbilityClientStub::~AccessibleAbilityClientStub()
{
HILOG_DEBUG();
memberFuncMap_.clear();
}
int AccessibleAbilityClientStub::OnRemoteRequest(uint32_t code,

View File

@ -274,8 +274,6 @@ AccessibleAbilityManagerServiceStub::AccessibleAbilityManagerServiceStub()
AccessibleAbilityManagerServiceStub::~AccessibleAbilityManagerServiceStub()
{
HILOG_DEBUG("start.");
memberFuncMap_.clear();
}
int AccessibleAbilityManagerServiceStub::OnRemoteRequest(

View File

@ -833,6 +833,8 @@ RetError AccessibleAbilityManagerService::RegisterElementOperatorChildWork(const
} else {
HILOG_DEBUG("parentAamsOper is nullptr");
}
} else {
return RET_ERR_NO_CONNECTION;
}
operation->SetBelongTreeId(treeId);