call shutdown in LifecycleNode dtor to avoid leaving the device in un… (backport #2450)#2491
Merged
fujitatomoya merged 1 commit intohumblefrom Apr 7, 2024
Merged
Conversation
#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
approved these changes
Apr 6, 2024
Collaborator
Collaborator
|
https://ci.ros2.org/job/ci_windows/21456/ is unrelated, merging. |
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…known state.
address #997
This is an automatic backport of pull request #2450 done by Mergify.