diff --git a/adapter/uhdf2/host/src/devsvc_manager_proxy.c b/adapter/uhdf2/host/src/devsvc_manager_proxy.c index 14921e9d3cb2f0d687c405c131f0e0efcd4719bf..c9850aad08f38fd98f812b035924a097501dc192 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); } }