Skip to content

Commit

Permalink
Update nav2_controller.cpp (#2462)
Browse files Browse the repository at this point in the history
Add `costmap_thread_.reset()` on the destructor of ControllerServer class
  • Loading branch information
harderthan authored and SteveMacenski committed Sep 14, 2021
1 parent c1b506e commit 6151f13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nav2_controller/src/nav2_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ ControllerServer::~ControllerServer()
progress_checker_.reset();
goal_checkers_.clear();
controllers_.clear();
costmap_thread_.reset();
}

nav2_util::CallbackReturn
Expand Down

0 comments on commit 6151f13

Please sign in to comment.