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

Use OnShutdown callback handle instead of OnShutdown callback (backport #1639) #1650

Merged
merged 1 commit into from
May 3, 2021

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Apr 30, 2021

This is an automatic backport of pull request #1639 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

1. Add remove_on_shutdown_callback() in rclcpp::Context

Signed-off-by: Barry Xu <barry.xu@sony.com>

2. Add add_on_shutdown_callback(), which returns a handle that can be removed by remove_on_shutdown_callback().

Signed-off-by: Barry Xu <barry.xu@sony.com>
(cherry picked from commit 6806cdf)
@ivanpauno ivanpauno requested a review from wjwwood April 30, 2021 17:56
@ivanpauno ivanpauno added this to In progress in Galactic via automation Apr 30, 2021
@ivanpauno ivanpauno merged commit 2616dfa into galactic May 3, 2021
@delete-merged-branch delete-merged-branch bot deleted the mergify/bp/galactic/pr-1639 branch May 3, 2021 12:59
@clalancette clalancette moved this from In progress to Needs Release in Galactic May 3, 2021
@clalancette clalancette moved this from Needs Release to Done in Galactic May 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Galactic
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants