!9459 pr9330 arm64编译出错修复

Merge pull request !9459 from zhubingwei/9330-build-fix
This commit is contained in:
openharmony_ci 2024-07-18 01:45:05 +00:00 committed by Gitee
commit 9fbded42fe
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -175,7 +175,6 @@ void JSUIServiceExtAbilityConnection::AddDuplicatedPendingTask(std::unique_ptr<N
void JSUIServiceExtAbilityConnection::ResolveDuplicatedPendingTask(napi_env env, napi_value proxy)
{
TAG_LOGI(AAFwkTag::UISERVC_EXT, "called, size %{public}d", duplicatedPendingTaskList_.size());
for (auto &task : duplicatedPendingTaskList_) {
if (task != nullptr) {
task->ResolveWithNoError(env, proxy);
@ -186,7 +185,6 @@ void JSUIServiceExtAbilityConnection::ResolveDuplicatedPendingTask(napi_env env,
void JSUIServiceExtAbilityConnection::RejectDuplicatedPendingTask(napi_env env, napi_value error)
{
TAG_LOGI(AAFwkTag::UISERVC_EXT, "called, size %{public}d", duplicatedPendingTaskList_.size());
for (auto &task : duplicatedPendingTaskList_) {
if (task != nullptr) {
task->Reject(env, error);