ros / pluginlib

Library for loading/unloading plugins in ROS packages during runtime
http://ros.org/wiki/pluginlib
57 stars 101 forks source link

Documented possible exception being thrown in ClassLoader destructor. #234

Closed remod closed 4 months ago

remod commented 2 years ago

The class member class_loader::MultiLibraryClassLoader lowlevel_class_loader_ can throw an exception when being destroyed (which actually happened to me). This can be hard to fix, especially if one defines the ClassLoader instance to be static. In this case the instance is destroyed when the executable exits where you can't catch exceptions.

Documenting this behavior should help others to be careful. Also it is consistent with the documentation of the other methods.

remod commented 2 years ago

It looks like the pipeline failed due to connection issues. Will retry later.

10:00:09 E: Unable to locate package ros-noetic-catkin
10:00:09 E: Unable to locate package ros-noetic-class-loader
10:00:09 E: Unable to locate package ros-noetic-cmake-modules
10:00:09 E: Unable to locate package ros-noetic-rosconsole
10:00:09 E: Unable to locate package ros-noetic-roslib
10:00:09 'apt install' failed and likely requires 'apt update' to run again
remod commented 2 years ago

@nuclearsandwich kind ping