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

Merge pull request !107 from 万学磊/development
pull/107/MERGE
王涛 4 years ago committed by Gitee
commit f87927acc5

@ -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