Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose on-demand library load/unload in class loader constructor. #235

Open
wants to merge 1 commit into
base: noetic-devel
Choose a base branch
from

Conversation

remod
Copy link
Contributor

@remod remod commented Mar 1, 2022

Currently, on-demand library loading/unloading is hard-coded to false. This leads to the fact that libraries are unloaded on destruction of the ClassLoader instance, which can throw exceptions (see #234).

In my use case I'd like to unload the libraries on-demand, so I do not have to deal with exceptions when the destructor of the ClassLoader instance is called.

This PR exposes the setting in the ClassLoader constructor. The default value is false for backwards compatibility.

@remod
Copy link
Contributor Author

remod commented Mar 7, 2022

@nuclearsandwich kind ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant