Skip to content

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

Merged
ivanpauno merged 1 commit intogalacticfrom
mergify/bp/galactic/pr-1639
May 3, 2021
Merged

Use OnShutdown callback handle instead of OnShutdown callback (backport #1639)#1650
ivanpauno merged 1 commit intogalacticfrom
mergify/bp/galactic/pr-1639

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@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 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
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.

4 participants