Skip to content

Commit

Permalink
Fix error message in rclcpp_lifecycle::State::reset() (#2647)
Browse files Browse the repository at this point in the history
The function that may not complete successfully is
`rcl_lifecycle_state_fini()`, not `rcl_lifecycle_transition_fini()`.

Signed-off-by: Christophe Bedard <[email protected]>
  • Loading branch information
christophebedard authored Oct 9, 2024
1 parent f8aea8c commit c50f0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp_lifecycle/src/state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ State::reset() noexcept
if (ret != RCL_RET_OK) {
RCLCPP_ERROR(
rclcpp::get_logger("rclcpp_lifecycle"),
"rcl_lifecycle_transition_fini did not complete successfully, leaking memory");
"rcl_lifecycle_state_fini did not complete successfully, leaking memory");
}
}

Expand Down

0 comments on commit c50f0c9

Please sign in to comment.