From 4f7c1afafc43114d19a2c133ce5fe1ee54be80f1 Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Sun, 1 Oct 2023 12:31:15 -0700 Subject: [PATCH] unregister_sigterm_signal_handler should be called. (#1170) Signed-off-by: Tomoya Fujita --- rclpy/src/rclpy/signal_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rclpy/src/rclpy/signal_handler.cpp b/rclpy/src/rclpy/signal_handler.cpp index 62dfffda0..369060f50 100644 --- a/rclpy/src/rclpy/signal_handler.cpp +++ b/rclpy/src/rclpy/signal_handler.cpp @@ -324,7 +324,7 @@ DEFINE_SIGNAL_HANDLER(rclpy_sigterm_handler) // one when we last tried to unregister ourselves. // Try to unregister again. - unregister_sigint_signal_handler(); + unregister_sigterm_signal_handler(); } else { notify_signal_handler(); }