Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test program hangs #45

Open
davidoort opened this issue May 22, 2022 · 1 comment
Open

Test program hangs #45

davidoort opened this issue May 22, 2022 · 1 comment

Comments

@davidoort
Copy link

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.

@TimWhiting
Copy link
Collaborator

TimWhiting commented May 22, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants