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

update ipc/native/src/napi_common/source/napi_remote_object.cpp.

napi_remote_object
Signed-off-by: N马根堂 <magentang4@huawei.com>
上级 4e08d0d9
......@@ -60,7 +60,7 @@ static void RemoteObjectHolderFinalizeCb(napi_env env, void *data, void *hint)
}
holder->Lock();
int32_t curAttachCount = holder->DecAttachCount();
ZLOGW(LOG_LABEL, "NAPIRemoteObjectHolder destructed by js callback, curAttachCount:%{public}d", curAttachCount);
ZLOGI(LOG_LABEL, "NAPIRemoteObjectHolder destructed by js callback, curAttachCount:%{public}d", curAttachCount);
if (curAttachCount == 0) {
delete holder;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册