Browse Source

!107 bugfix:fix core question because of DestroyGraphJson lack of return

Merge pull request !107 from 万学磊/development
tags/v1.1.0
王涛 Gitee 4 years ago
parent
commit
f87927acc5
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