From b0bf06601e1a9042fa08892dd44737be6c5df1ed Mon Sep 17 00:00:00 2001 From: wanghaoxu Date: Fri, 16 Sep 2022 02:56:11 +0000 Subject: [PATCH] fix log to help solve cppcrash problem Signed-off-by: wanghaoxu --- ipc/native/src/core/source/ipc_process_skeleton.cpp | 2 +- ipc/native/src/mock/source/binder_invoker.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ipc/native/src/core/source/ipc_process_skeleton.cpp b/ipc/native/src/core/source/ipc_process_skeleton.cpp index 807ebbe..5b3bdee 100644 --- a/ipc/native/src/core/source/ipc_process_skeleton.cpp +++ b/ipc/native/src/core/source/ipc_process_skeleton.cpp @@ -208,7 +208,7 @@ bool IPCProcessSkeleton::SetRegistryObject(sptr &object) if (ret) { registryObject_ = object; } - + ZLOGI(LOG_LABEL, "%{public}s set registry result is %{public}d", __func__, ret); return ret; } diff --git a/ipc/native/src/mock/source/binder_invoker.cpp b/ipc/native/src/mock/source/binder_invoker.cpp index 1391981..b0b1d86 100644 --- a/ipc/native/src/mock/source/binder_invoker.cpp +++ b/ipc/native/src/mock/source/binder_invoker.cpp @@ -461,7 +461,6 @@ void BinderInvoker::OnTransaction(const uint8_t *buffer) targetObject = IPCProcessSkeleton::GetCurrent()->GetRegistryObject(); if (targetObject == nullptr) { ZLOGE(LABEL, "Invalid samgr stub object"); - abort(); } } MessageParcel reply; -- GitLab