Skip to content

Commit

Permalink
style: ament_cpplint
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanYuYuan committed Nov 28, 2024
1 parent 91df63c commit 70990e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rmw_zenoh_cpp/src/detail/graph_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,9 @@ void GraphCache::parse_del(
if (entity->type() == EntityType::Node) {
// Node
// When destroying a node, Zenoh does not guarantee that liveliness tokens to remove pub/subs
// arrive before the one to remove the node from the graph despite un-registering those entities earlier.
// In such scenarios, if we find any pub/subs present in the node, we reduce their counts in graph_topics_.
// arrive before the one to remove the node from the graph despite un-registering those entities
// earlier. In such scenarios, if we find any pub/subs present in the node, we reduce their
// counts in graph_topics_.
const GraphNodePtr graph_node = node_it->second;
if (!graph_node->pubs_.empty() ||
!graph_node->subs_.empty() ||
Expand Down

0 comments on commit 70990e7

Please sign in to comment.