From 4444b7296c53da97ca612f52c935f5c0acc4feed Mon Sep 17 00:00:00 2001 From: gaojiaqi Date: Mon, 2 Sep 2024 19:22:01 +0800 Subject: [PATCH] 5.0 release Signed-off-by: gaojiaqi --- frameworks/src/app_group_observer_napi.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/frameworks/src/app_group_observer_napi.cpp b/frameworks/src/app_group_observer_napi.cpp index 97a0f23..01ad399 100644 --- a/frameworks/src/app_group_observer_napi.cpp +++ b/frameworks/src/app_group_observer_napi.cpp @@ -93,8 +93,6 @@ void UvQueueWorkOnAppGroupChanged(uv_work_t *work, int status) napi_handle_scope scope = nullptr; napi_open_handle_scope(callbackReceiveDataWorkerData->env, &scope); if (scope == nullptr) { - delete work; - work = nullptr; return; } -- Gitee