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

Finalize context if and only if it's shutdown #196

Merged
merged 1 commit into from
Jun 23, 2020

Conversation

hidmic
Copy link
Contributor

@hidmic hidmic commented Jun 22, 2020

This pull request ensures rmw_context_fini() fails on a not shutdown context, as its API contract establishes (see ros2/rmw#242).

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Copy link
Collaborator

@eboasson eboasson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@hidmic
Copy link
Contributor Author

hidmic commented Jun 22, 2020

CI up to test_rmw_implementation against all RMW implementations:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@hidmic
Copy link
Contributor Author

hidmic commented Jun 23, 2020

Going in! Thanks for the reviews.

@hidmic hidmic merged commit 130db30 into master Jun 23, 2020
@delete-merged-branch delete-merged-branch bot deleted the hidmic/safe-context-finalization branch June 23, 2020 15:31
ahcorde pushed a commit that referenced this pull request Oct 8, 2020
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
ahcorde pushed a commit that referenced this pull request Oct 15, 2020
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
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.

3 participants