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

内存优化

Signed-off-by: N马根堂 <magentang4@huawei.com>
上级 a668776f
......@@ -15,9 +15,13 @@
#include "napi_remote_object_holder.h"
#include "ipc_debug.h"
#include "log_tags.h"
#include <string_ex.h>
namespace OHOS {
static constexpr OHOS::HiviewDFX::HiLogLabel LOG_LABEL = { LOG_CORE, LOG_ID_IPC, "NapiRemoteObjectHolder" };
NAPIRemoteObjectHolder::NAPIRemoteObjectHolder(napi_env env, const std::u16string &descriptor)
: env_(env), descriptor_(descriptor), cachedObject_(nullptr), localInterfaceRef_(nullptr), attachCount_(1)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册