diff --git a/services/appmgr/src/app_running_record.cpp b/services/appmgr/src/app_running_record.cpp index 68500f6229bfc20d69dbb65f9c6d5f0120a256c1..13dcda00e05aeb91d4bbf5dc089be59145512a69 100644 --- a/services/appmgr/src/app_running_record.cpp +++ b/services/appmgr/src/app_running_record.cpp @@ -35,7 +35,10 @@ RenderRecord::RenderRecord(pid_t hostPid, const std::string &renderParam, {} RenderRecord::~RenderRecord() -{} +{ + close(sharedFd_); + close(ipcFd_); +} std::shared_ptr RenderRecord::CreateRenderRecord(pid_t hostPid, const std::string &renderParam, int32_t ipcFd, int32_t sharedFd, const std::shared_ptr &host)