Skip to content
Snippets Groups Projects
Commit c55a5f51 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Fixed a bug in the node class destructor. The internal thread was killed but not destroyed.

parent 3ce44f61
No related branches found
No related tags found
No related merge requests found
......@@ -320,6 +320,7 @@ IriBaseAlgorithm<Algorithm>::~IriBaseAlgorithm()
ROS_DEBUG("IriBaseAlgorithm::Destructor");
this->thread_server_->kill_thread(this->main_thread_id_);
this->thread_server_->delete_thread(this->main_thread_id_);
}
template <class Algorithm>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment