mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-26 18:47:03 -04:00
update: 更新文件 ets_context_module.cpp
Signed-off-by: zhang_hao_zheng <zhanghaozheng2@h-partners.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user