Skip to content

Commit

Permalink
add CLEAR_ALL_REGISTRIES macro in destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Dec 30, 2024
1 parent c181b5d commit a107a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ ControllerManager::ControllerManager(

ControllerManager::~ControllerManager()
{
STOP_PUBLISHER_THREAD(hardware_interface::DEFAULT_REGISTRY_KEY);
CLEAR_ALL_REGISTRIES();
}

void ControllerManager::init_controller_manager()
Expand Down

0 comments on commit a107a99

Please sign in to comment.