From 1beb252e3c7a13332ddb277adf9a4ac08767665c Mon Sep 17 00:00:00 2001 From: wxl Date: Thu, 22 Oct 2020 10:52:29 +0800 Subject: [PATCH] Bugfix:fix core question because of destroygraph fucn lack of return --- ge/analyzer/analyzer.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/ge/analyzer/analyzer.cc b/ge/analyzer/analyzer.cc index 972aba7d..65e2293b 100755 --- a/ge/analyzer/analyzer.cc +++ b/ge/analyzer/analyzer.cc @@ -145,6 +145,7 @@ void Analyzer::DestroyGraphJsonObject(uint64_t session_id, uint64_t graph_id) { if (iter1 == (iter->second).end()) { GELOGW("Can not find the graph json object by session_id[%lu] and graph_id[%lu]. Do nothing.", session_id, graph_id); + return; } (iter->second).erase(iter1); }