Skip to content

Do not block when spawner is shut down while waiting for services#522

Open
Martin-Oehler wants to merge 1 commit into
ros-controls:noetic-develfrom
Martin-Oehler:prevent_block_on_shutdown
Open

Do not block when spawner is shut down while waiting for services#522
Martin-Oehler wants to merge 1 commit into
ros-controls:noetic-develfrom
Martin-Oehler:prevent_block_on_shutdown

Conversation

@Martin-Oehler
Copy link
Copy Markdown
Contributor

Hello everyone,
a while ago, I contributed this PR #508. However, a small oversight is that I did not check for rospy.is_shutdown() in the introduced while-loop. So if you manage to kill the node while it is still waiting for services, you receive a nasty message spam.

This commit simply adds the missing check for a running node.

Best regards,
Martin

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

Successfully merging this pull request may close these issues.

1 participant