Skip to content

Call rclcpp::shutdown() in the component containers#3158

Merged
ahcorde merged 1 commit into
ros2:rollingfrom
Hugal31:fix/call-shutdown-in-components-containers
Jun 2, 2026
Merged

Call rclcpp::shutdown() in the component containers#3158
ahcorde merged 1 commit into
ros2:rollingfrom
Hugal31:fix/call-shutdown-in-components-containers

Conversation

@Hugal31
Copy link
Copy Markdown
Contributor

@Hugal31 Hugal31 commented Jun 1, 2026

Description

ROS2 executables should call rclcpp::shutdown before exiting to avoid issues with some RMW, namely Zenoh. Explicitly call it in the component containers.

Is this user-facing behavior change?

No.

Did you use Generative AI?

No.

Signed-off-by: Hugo Laloge <hugo.laloge@gmail.com>
@Hugal31 Hugal31 force-pushed the fix/call-shutdown-in-components-containers branch from 1d211c2 to 0e5f46a Compare June 1, 2026 11:51
@ahcorde
Copy link
Copy Markdown
Contributor

ahcorde commented Jun 1, 2026

Pulls: #3158
Gist: https://gist.githubusercontent.com/ahcorde/453839f6230753d55361f14b855caf9a/raw/dfbc12bc82e8b910f0710c67f0dca51644eea231/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp_components
TEST args: --packages-above rclcpp_components
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/19417

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

@ahcorde ahcorde merged commit a4785f5 into ros2:rolling Jun 2, 2026
3 checks passed
Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with green CI.

@fujitatomoya
Copy link
Copy Markdown
Collaborator

@Mergifyio backport lyrical

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Jun 2, 2026

backport lyrical

✅ Backports have been created

Details

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.

3 participants