Skip to content

Commit a7a1b89

Browse files
todoubabasjahr
andauthored
Join spinner before exit (#717)
* Join spinner before exit * Call join() before shutdown() --------- Co-authored-by: Sebastian Jahr <[email protected]>
1 parent 46d3b4a commit a7a1b89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/how_to_guides/pilz_industrial_motion_planner/src/pilz_move_group.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ int main(int argc, char* argv[])
178178
}
179179

180180
// Shutdown ROS
181+
spinner.join();
181182
rclcpp::shutdown();
182183
return 0;
183184
}

0 commit comments

Comments
 (0)