From c112ffd95380b64db26af7c996a7ac953bb3f8af Mon Sep 17 00:00:00 2001 From: "G.Doisy" Date: Mon, 8 Mar 2021 22:21:58 +0100 Subject: [PATCH] fix exit (#2224) --- .../test/plugins/action/test_clear_costmap_service.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nav2_behavior_tree/test/plugins/action/test_clear_costmap_service.cpp b/nav2_behavior_tree/test/plugins/action/test_clear_costmap_service.cpp index 6264518912..17cd7cbb44 100644 --- a/nav2_behavior_tree/test/plugins/action/test_clear_costmap_service.cpp +++ b/nav2_behavior_tree/test/plugins/action/test_clear_costmap_service.cpp @@ -314,6 +314,8 @@ int main(int argc, char ** argv) // shutdown ROS rclcpp::shutdown(); server_thread.join(); + server_thread_except_region.join(); + server_thread_around_robot.join(); return all_successful; }