-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guard against TOCTTOU with rclcpp::ok and rclcpp:spin_some (#459)
Fixes #458. An exception can be thrown if an interrupt occurs between checking rclcpp::ok() and rclcpp::spin_some(). Related to ros2/rclcpp#1066 Signed-off-by: Jacob Perron <jacob@openrobotics.org>
- Loading branch information
1 parent
8e8cc04
commit abc8eec
Showing
2 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters