From d407a5e3313d90642f1dd7b1de2e95b833242ff7 Mon Sep 17 00:00:00 2001 From: Zard-C <58285320+Zard-C@users.noreply.github.com> Date: Mon, 6 Nov 2023 03:28:17 +0800 Subject: [PATCH] fix (signal_handler.hpp): spelling (#2356) Signed-off-by: Zard-C --- rclcpp/src/rclcpp/signal_handler.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rclcpp/src/rclcpp/signal_handler.hpp b/rclcpp/src/rclcpp/signal_handler.hpp index 0d3c399ccb..db608b0d10 100644 --- a/rclcpp/src/rclcpp/signal_handler.hpp +++ b/rclcpp/src/rclcpp/signal_handler.hpp @@ -75,7 +75,7 @@ class SignalHandler final bool install(SignalHandlerOptions signal_handler_options = SignalHandlerOptions::All); - /// Uninstall the signal handler for SIGINT/SIGTERM and join the dedicated singal handling + /// Uninstall the signal handler for SIGINT/SIGTERM and join the dedicated signal handling /// thread. /** * Also restores the previous signal handler. @@ -189,7 +189,7 @@ class SignalHandler final // Whether or not a signal has been received. std::atomic_bool signal_received_ = false; - // A thread to which singal handling tasks are deferred. + // A thread to which signal handling tasks are deferred. std::thread signal_handler_thread_; // A mutex used to synchronize the install() and uninstall() methods.