From afbb757a3a0322a5c6f4acf73a565af2df18c64f Mon Sep 17 00:00:00 2001 From: zhanghang133 Date: Sat, 14 Sep 2024 14:42:08 +0800 Subject: [PATCH] =?UTF-8?q?camera=5Fhost=E8=BF=9B=E7=A8=8B=E9=80=80?= =?UTF-8?q?=E5=87=BA=E6=97=B6=E4=BD=BF=E7=94=A8=5Fexit(0)=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E9=80=80=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhanghang133 --- adapter/uhdf2/host/devhost.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/adapter/uhdf2/host/devhost.c b/adapter/uhdf2/host/devhost.c index fb3b9e99d..e308db85a 100644 --- a/adapter/uhdf2/host/devhost.c +++ b/adapter/uhdf2/host/devhost.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "securec.h" #include "parameter.h" @@ -165,5 +166,8 @@ int main(int argc, char **argv) HdfPowerManagerExit(); DevHostDumpDeInit(); HDF_LOGI("hdf device host %{public}s %{public}d exit", hostName, hostId); + if (strcmp(hostName, "camera_host") == 0) { + _exit(status); + } return status; } -- Gitee