Skip to content

Commit

Permalink
Shutdown after spin()
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahr committed Sep 2, 2022
1 parent ff2c54f commit 30179dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions moveit_ros/benchmarks/src/RunBenchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,6 @@ int main(int argc, char** argv)
RCLCPP_ERROR(LOGGER, "Failed to run all benchmarks");

rclcpp::spin(node);
rclcpp::shutdown();
return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,6 @@ int main(int argc, char** argv)
RCLCPP_ERROR(LOGGER, "Failed to run all benchmarks");

rclcpp::spin(node);
rclcpp::shutdown();
return 0;
}

0 comments on commit 30179dc

Please sign in to comment.