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

Revert "Revert "refactor AnySubscriptionCallback and add/deprecate ca… #89

Open
wants to merge 4 commits into
base: galactic-events-executor
Choose a base branch
from

Conversation

mauropasse
Copy link
Collaborator

Revert "Revert "refactor AnySubscriptionCallback and add/deprecate callback signatures (ros2#1598)""

This reverts commit 9acf35a.

Mauro Passerino added 4 commits August 10, 2022 13:40
When ~ServiceBase() is called, rcl_service_fini
frees the underlying rmw allocated memory.

Trying to set a null callback later causes a seg-fault
since pointer has been freed (rmw_service->data)
Signed-off-by: Mauro Passerino <mpasserino@irobot.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.

1 participant