Skip to content

Commit

Permalink
Join spinner before exit (#717)
Browse files Browse the repository at this point in the history
* Join spinner before exit

* Call join() before shutdown()

---------

Co-authored-by: Sebastian Jahr <sebastian.jahr@tuta.io>
  • Loading branch information
todoubaba and sjahr committed Jul 24, 2023
1 parent 46d3b4a commit a7a1b89
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ int main(int argc, char* argv[])
}

// Shutdown ROS
spinner.join();
rclcpp::shutdown();
return 0;
}

0 comments on commit a7a1b89

Please sign in to comment.