Skip to content

Fix RAII for subscription, client, and service #463

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

Merged
merged 3 commits into from
Mar 10, 2025

Conversation

mxgrey
Copy link
Collaborator

@mxgrey mxgrey commented Mar 4, 2025

This is aimed at fixing #462. With these changes, users will no longer need to explicitly hold onto the Arc<Node> in order to keep their subscriptions, services, or clients running.

This will be implemented differently as we move through the async execution PRs, but this PR will be a quick and effective stop gap in the meantime.

mxgrey and others added 3 commits March 4, 2025 10:31
Signed-off-by: Michael X. Grey <[email protected]>
Signed-off-by: Michael X. Grey <[email protected]>
Copy link
Collaborator

@esteve esteve left a comment

Choose a reason for hiding this comment

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

@mxgrey LGTM, thanks!

@esteve esteve merged commit 0fe1f21 into ros2-rust:main Mar 10, 2025
4 checks passed
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.

2 participants