From a3827e1783f96f39161a593ea5991441541a2e5c Mon Sep 17 00:00:00 2001 From: xlei1030 Date: Thu, 10 Mar 2022 17:02:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=8E=E6=8C=87=E9=92=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xlei1030 --- src/appspawn_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appspawn_server.cpp b/src/appspawn_server.cpp index 4f99f948..2a8df31f 100644 --- a/src/appspawn_server.cpp +++ b/src/appspawn_server.cpp @@ -365,8 +365,8 @@ bool AppSpawnServer::ServerMain(char *longProcName, int64_t longProcNameLen) isChildDie_ = false; auto iter = appMap_.find(childPid_); if (iter != appMap_.end()) { - appMap_.erase(iter); APPSPAWN_LOGI("delete pid=%d in appMap", iter->first); + appMap_.erase(iter); } } if (this->appQueue_.empty()) { -- Gitee