update: 更新文件 ets_context_module.cpp

Signed-off-by: zhang_hao_zheng <zhanghaozheng2@h-partners.com>
This commit is contained in:
zhang_hao_zheng
2026-02-10 10:19:37 +08:00
parent 59b2305222
commit 177edfa47d
@@ -411,6 +411,7 @@ void EtsContextModule::SaveStaticBindingObject(ani_env *aniEnv, ani_object input
ani_status status = ANI_ERROR;
if ((status = aniEnv->GlobalReference_Create(input, contextGlobalRef)) != ANI_OK) {
TAG_LOGE(AAFwkTag::UIABILITY, "status : %{public}d", status);
delete contextGlobalRef;
return;
}
context->Bind<ani_ref>(contextGlobalRef);