Skip to content

Commit

Permalink
Merge pull request #11 from orikuma/do-not-reset-shared-ptrs-when-stop
Browse files Browse the repository at this point in the history
Do not reset shared_ptrs to prevent SEGV when changing controllers
  • Loading branch information
gergondet authored Oct 19, 2023
2 parents 9e1d0d0 + 6c12c1f commit faad0c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/MultiContactController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ void MultiContactController::stop()

// Clean up managers
limbManagerSet_->stop();
limbManagerSet_.reset();
centroidalManager_->stop();
centroidalManager_.reset();

// Clean up anchor
setDefaultAnchor();
Expand Down

0 comments on commit faad0c0

Please sign in to comment.