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

pull/107/head
wxl 4 years ago
parent 10e69ac44c
commit 1beb252e3c

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