rosrust icon indicating copy to clipboard operation
rosrust copied to clipboard

Ros Node is not cleaned up after exiting.

Open hojjatabdollahi opened this issue 3 years ago • 0 comments

I have been testing the code using the examples provided. After I create a node I can see the node using the rosnode list command. If I stop the node: either using ctrl+c or rosnode kill /talker, the node still shows up in rosnode list. The only way to get rid of it is to run rosnode cleanup. This behavior happens in cpp if you abruptly stop a node and the node doesn't have enough time to cleanup. I tried to add rosrust::shutdown() to the code in the examples, but it did not fix the issue. Am I doing something wrong? Is this known/intended?

hojjatabdollahi avatar Mar 17 '21 21:03 hojjatabdollahi