dartros
dartros copied to clipboard
Test program hangs
Hi, I'm running the example dart program and it works fine, but it never terminates. I don't know if I'm missing something obvious in Dart or ROS, but even when I add nh.shutdown() at the end nothing changes. When I ^C on the terminal it also doesn't exit.
More generally, it would be good to get some insight on how to start and stop nodes in the context of an app, to make sure that when the app is closed, no background processes are running.
I just published a potential fix. I haven't tested it yet. Try the nh.shutdown() again. I'll leave this issue open until I'm sure that it is fixed.
Edit: Reverted changes. I thought I wasn't closing some server sockets, but that wasn't the issue. This will require more investigating. If you have time, I am happy to review pull requests.