Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Commit

Permalink
Manual reset of the kinematics loader implementation shared pointer t…
Browse files Browse the repository at this point in the history
…o avoid bug #592
  • Loading branch information
Alain Sanguinetti committed Jul 6, 2016
1 parent 30bb70f commit 383a895
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ class KinematicsPluginLoader::KinematicsLoaderImpl
}
}

/**
* \brief Explicit destructor to avoid bugs in unloading the library
*/
~KinematicsLoaderImpl( )
{
kinematics_loader_.reset(); // we delete it manually
}

/**
* \brief Helper function to decide which, and how many, tip frames a planning group has
* \param jmg - joint model group pointer
Expand Down

0 comments on commit 383a895

Please sign in to comment.