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

Support jump handlers with only pre- or post-jump callback #517

Merged
merged 3 commits into from
Jul 17, 2018

Conversation

dhood
Copy link
Member

@dhood dhood commented Jul 17, 2018

We are assuming both pre- and post-jump callback are set for a JumpHandler, which can lead to bad_function_call exceptions.

To me it seems reasonable that only one is provided and not the other, so I took the approach of checking before calling them, but if we think they should both be required and users have to put noops as appropriate, we can add a check to the constructor instead.

@dhood dhood added the in review Waiting for review (Kanban column) label Jul 17, 2018
@dhood dhood self-assigned this Jul 17, 2018
@dhood
Copy link
Member Author

dhood commented Jul 17, 2018

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@dhood dhood merged commit 8f2052d into master Jul 17, 2018
@dhood dhood deleted the partial_jump_handlers branch July 17, 2018 21:11
@dhood dhood removed the in review Waiting for review (Kanban column) label Jul 17, 2018
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
Include rcl_context_t in the example usage.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.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.

None yet

2 participants