pluginlib icon indicating copy to clipboard operation
pluginlib copied to clipboard

Documented possible exception being thrown in ClassLoader destructor.

Open remod opened this issue 2 years ago • 2 comments

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 avatar Mar 01 '22 08:03 remod