Skip to content

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

1 participant