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

call shutdown in LifecycleNode dtor to avoid leaving the device in un… (backport #2450) #2491

Merged
merged 1 commit into from
Apr 7, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Apr 6, 2024

…known state.

address #997


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

#2450)

* call shutdown in LifecycleNode dtor to avoid leaving the device in unknown state.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>

* add test to verify LifecycleNode::shutdown is called on destructor.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>

---------

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
(cherry picked from commit 04ea0bb)
@fujitatomoya
Copy link
Collaborator

CI:

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

@fujitatomoya
Copy link
Collaborator

https://ci.ros2.org/job/ci_windows/21456/ is unrelated, merging.

@fujitatomoya fujitatomoya merged commit 0f9604d into humble Apr 7, 2024
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the mergify/bp/humble/pr-2450 branch April 7, 2024 21:59
fujitatomoya added a commit that referenced this pull request Jun 10, 2024
…ce in un… (#2450) (#2491)"

This reverts commit 0f9604d.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
fujitatomoya added a commit that referenced this pull request Jun 12, 2024
* Revert "lifecycle node dtor shutdown should be called only in primary state. (#2544)"

This reverts commit 595badb.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>

* Revert "call shutdown in LifecycleNode dtor to avoid leaving the device in un… (#2450) (#2491)"

This reverts commit 0f9604d.

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>

---------

Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.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

1 participant