Function rclcpp::on_shutdown

Function Documentation

void rclcpp::on_shutdown(std::function<void()> callback, rclcpp::Context::SharedPtr context = nullptr)