未验证 提交 4e08d0d9 编写于 作者: 马根堂 提交者: Gitee

NAPIRemoteObject

Signed-off-by: N马根堂 <magentang4@huawei.com>
上级 01d4f63a
......@@ -20,12 +20,11 @@
namespace OHOS {
NAPIRemoteObjectHolder::NAPIRemoteObjectHolder(napi_env env, const std::u16string &descriptor, napi_value thisVar)
{
ZLOGE(LOG_LABEL, "[memtest]NAPIRemoteObjectHolder created");
env_ = env;
descriptor_ = descriptor;
sptrCachedObject_ = nullptr;
wptrCachedObject_ = nullptr;
localInterfaceRef_ = nullptr;
localInterfaceRef_ = nullptr;
attachCount_ = 1;
napi_create_reference(env, thisVar, 0, &jsObjectRef_);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册