Skip to content

Commit

Permalink
unregister_sigterm_signal_handler should be called. (ros2#1170)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <[email protected]>
  • Loading branch information
fujitatomoya authored Oct 1, 2023
1 parent 5ee7ad4 commit 4f7c1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclpy/src/rclpy/signal_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 4f7c1af

Please sign in to comment.