mirror of
https://gitee.com/openharmony/communication_ipc
synced 2024-11-23 15:59:58 +00:00
update ipc/native/src/napi_common/source/napi_remote_object.cpp.
Signed-off-by: 马根堂 <magentang4@huawei.com>
This commit is contained in:
parent
e0fb8d4c22
commit
b2d157f480
@ -164,7 +164,7 @@ NAPIRemoteObject::NAPIRemoteObject(napi_env env, napi_ref jsObjectRef, const std
|
||||
|
||||
NAPIRemoteObject::~NAPIRemoteObject()
|
||||
{
|
||||
ZLOGI(LOG_LABEL, "NAPIRemoteObject Destructor, desc:%{public}s", Str16ToStr8(desc_).c_str());
|
||||
ZLOGI(LOG_LABEL, "NAPIRemoteObject destroyed, desc:%{public}s", Str16ToStr8(desc_).c_str());
|
||||
if (thisVarRef_ != nullptr) {
|
||||
napi_status status = napi_delete_reference(env_, thisVarRef_);
|
||||
NAPI_ASSERT_RETURN_VOID(env_, status == napi_ok, "failed to delete ref to js RemoteObject");
|
||||
|
Loading…
Reference in New Issue
Block a user