You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @rhaschke
Given that ros/class_loader#34 does fix the library loading issue for ondemand loading/unloading but doesn't solve the unloading problem when the ClassLoader is destroyed;
Do you think that enabling ondemand loading/unloading in the pluginlib's ClassLoader still makes sense ? It will result in the same SEVERE WARNING and not unloading the library when ClassLoader destructor is called. As a result #37issue1.cpp will not be fixed by this PR. Is that right?
@mikaelarguedas
Indeed, one gets the SEVERE WARNING when trying to destroy the ClassLoader when objects are still in use. Hence ros/class_loader#34 doesn't fix both issues of #37.
I was thinking about to drop PR #39 too, because there is not benefit yet in using on-demand unloading of libraries: Either there is the SEVER WARNING or a segfault on exit of the program...
Hence, feel free to close this PR without merging.
@rhaschke I will then close this PR. The related issue can be kept open if anyone wants to take over and offer a solution to fix them.
Thanks for your work,
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #37,
issue1.cpp. Relates to #38, which is fixed by ros/class_loader#34.