From eff8214a3d7c87eabf95bade64fd72388ff1e000 Mon Sep 17 00:00:00 2001 From: Lucas Walter Date: Wed, 6 Nov 2024 09:15:49 -0800 Subject: [PATCH] log when a topic is unregistered, I'm seeing instances of nodes not shutting them down properly --- roslibrust/src/ros1/node/actor.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/roslibrust/src/ros1/node/actor.rs b/roslibrust/src/ros1/node/actor.rs index 4197dd3..9527cbf 100644 --- a/roslibrust/src/ros1/node/actor.rs +++ b/roslibrust/src/ros1/node/actor.rs @@ -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:?}, {}",