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

Fix #279 by removing querying sub callback after subscription is destroyed #282

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

Yadunund
Copy link
Member

This problem should not happen once we move all RMW entities into classes and we capture weak_ptrs in lambdas. For now I added an API to erase the querying sub callback. I am able to get the test in #279 to pass. Also tested with the scenario in #263 to make sure thee are no regressions.

Signed-off-by: Yadunund <yadunund@intrinsic.ai>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
@ahcorde ahcorde merged commit 25e51f2 into rolling Sep 17, 2024
8 checks passed
@ahcorde ahcorde deleted the yadu/fix_content_filter_test branch September 17, 2024 11:28
imstevenpmwork pushed a commit to ZettaScaleLabs/rmw_zenoh that referenced this pull request Sep 23, 2024
…destroyed (ros2#282)

Signed-off-by: Yadunund <yadunund@intrinsic.ai>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.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.

2 participants