Browse Source

Bugfix:fix core question because of destroygraph fucn lack of return

tags/v1.1.0
wxl 4 years ago
parent
commit
1beb252e3c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ge/analyzer/analyzer.cc

+ 1
- 0
ge/analyzer/analyzer.cc View File

@@ -145,6 +145,7 @@ void Analyzer::DestroyGraphJsonObject(uint64_t session_id, uint64_t graph_id) {
if (iter1 == (iter->second).end()) { 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, GELOGW("Can not find the graph json object by session_id[%lu] and graph_id[%lu]. Do nothing.", session_id,
graph_id); graph_id);
return;
} }
(iter->second).erase(iter1); (iter->second).erase(iter1);
} }


Loading…
Cancel
Save