From 6c9a96311b28e75aba8b389bc5cefc57fb15b693 Mon Sep 17 00:00:00 2001 From: huyx Date: Thu, 26 Sep 2024 21:24:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A7=A3=E5=86=B3composer=5Fhost=E5=B4=A9?= =?UTF-8?q?=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huyx --- adapter/uhdf2/host/src/devsvc_manager_proxy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adapter/uhdf2/host/src/devsvc_manager_proxy.c b/adapter/uhdf2/host/src/devsvc_manager_proxy.c index 14921e9d3..c9850aad0 100644 --- a/adapter/uhdf2/host/src/devsvc_manager_proxy.c +++ b/adapter/uhdf2/host/src/devsvc_manager_proxy.c @@ -22,6 +22,7 @@ #include "hdf_log.h" #include "hdf_sbuf.h" #include "osal_mem.h" +#include #define HDF_LOG_TAG devsvc_manager_proxy @@ -222,6 +223,7 @@ static void DevSvcManagerProxyOnRemoteDied(struct HdfDeathRecipient *recipient, HDF_LOGW("%{public}s: DevSvcManager dead, host %{public}d stop", __func__, fullService->super.hostId); if ((looper != NULL) && (looper->Stop != NULL)) { looper->Stop(looper); + _exit(0); } } -- Gitee From 145c14427871c43754ff83b1a093ca48befa111b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=E4=B8=B6H?= Date: Mon, 14 Oct 2024 12:23:56 +0000 Subject: [PATCH 2/2] update adapter/uhdf2/host/src/devsvc_manager_proxy.c. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Richard丶H --- adapter/uhdf2/host/src/devsvc_manager_proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/uhdf2/host/src/devsvc_manager_proxy.c b/adapter/uhdf2/host/src/devsvc_manager_proxy.c index c9850aad0..69fa1efe0 100644 --- a/adapter/uhdf2/host/src/devsvc_manager_proxy.c +++ b/adapter/uhdf2/host/src/devsvc_manager_proxy.c @@ -223,8 +223,8 @@ static void DevSvcManagerProxyOnRemoteDied(struct HdfDeathRecipient *recipient, HDF_LOGW("%{public}s: DevSvcManager dead, host %{public}d stop", __func__, fullService->super.hostId); if ((looper != NULL) && (looper->Stop != NULL)) { looper->Stop(looper); - _exit(0); } + _exit(0); } void DevSvcManagerProxyConstruct(struct DevSvcManagerProxy *inst, struct HdfRemoteService *remote) -- Gitee