From b9cc02c6a2ba9e24e0dabb1897c1a8bef485e43f Mon Sep 17 00:00:00 2001 From: xiongchangwu Date: Thu, 12 Sep 2024 18:45:36 +0800 Subject: [PATCH] OnRemoteDied exit 0 Signed-off-by: xiongchangwu --- 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