Skip to content

Commit

Permalink
Always shut down rclpy
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Sep 2, 2024
1 parent ec082e3 commit 5aebd56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyrobosim_ros/pyrobosim_ros/ros_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def shutdown(self):
self.destroy_node()
self.executor.shutdown()
self.executor = None
if rclpy.ok():
rclpy.shutdown()

def add_robot_ros_interfaces(self, robot):
Expand Down

0 comments on commit 5aebd56

Please sign in to comment.