Skip to content

Commit

Permalink
log when a topic is unregistered, I'm seeing instances of nodes not s…
Browse files Browse the repository at this point in the history
…hutting them down properly
  • Loading branch information
lucasw committed Nov 6, 2024
1 parent ec71f46 commit eff8214
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roslibrust/src/ros1/node/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,7 @@ impl Node {
let err1 = self.client.unregister_publisher(topic).await;
// Remove the publication from our internal state
let err2 = self.publishers.remove(topic);
log::info!("unregistering {topic} {err1:?}");
if err1.is_err() || err2.is_none() {
error!(
"Failure unregistering publisher: {err1:?}, {}",
Expand Down

0 comments on commit eff8214

Please sign in to comment.