Skip to content

Commit 6151f13

Browse files
harderthanSteveMacenski
authored andcommitted
Update nav2_controller.cpp (#2462)
Add `costmap_thread_.reset()` on the destructor of ControllerServer class
1 parent c1b506e commit 6151f13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nav2_controller/src/nav2_controller.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ ControllerServer::~ControllerServer()
7171
progress_checker_.reset();
7272
goal_checkers_.clear();
7373
controllers_.clear();
74+
costmap_thread_.reset();
7475
}
7576

7677
nav2_util::CallbackReturn

0 commit comments

Comments
 (0)