Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
Signed-off-by: Michael X. Grey <[email protected]>
  • Loading branch information
mxgrey committed Feb 4, 2025
1 parent e7f8bac commit 5c37fa8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rclrs/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ impl Executor {
}

// Clear out any nodes that have been dropped.
self.nodes_mtx.lock().unwrap().retain(|weak_node| weak_node.strong_count() > 0);
self.nodes_mtx
.lock()
.unwrap()
.retain(|weak_node| weak_node.strong_count() > 0);

Ok(())
}
Expand Down

0 comments on commit 5c37fa8

Please sign in to comment.