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

Can't unload modules when companion submodules are dependent on them #80

Open
cooper opened this issue Jul 4, 2016 · 0 comments
Open
Assignees

Comments

@cooper
Copy link
Owner

cooper commented Jul 4, 2016

For example, Ban::TS6 is loaded and unloaded with TS6::Base. But you can't MODUNLOAD Ban::TS6 independently of Ban because it is a submodule. When you try to unload TS6::Base, it says that Ban::TS6 depends on it. The only way to get around this currently is to unload Ban, which consequently unloads Ban::TS6, and then unload TS6::Base.

Basically, when attempting to unload a module with dependents that are companions to it, unload the dependents before unloading the requested module and do not raise an error.

@cooper cooper self-assigned this Oct 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant