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

module failing to unload are not reported during a module purge #267

Closed
xdelaruelle opened this issue May 5, 2019 · 1 comment
Closed
Milestone

Comments

@xdelaruelle
Copy link
Member

If a loaded module fails to unload during a module purge due to a break statement, this unload failure is not reported. It may confuse users as no module should be found loaded after a module purge.

@xdelaruelle xdelaruelle added this to the 4.3 milestone May 5, 2019
@mgsternberg
Copy link

I think handling the result of a “break” statement still does not remove the element of surprise for a user.

The concept of surviving “purge” or “unload” looks rather like such modules being sticky. Such an attribute needs to be flagged in “module list” output, ideally including when “—terse” is active (for parsing). Come to think about it, I’d say such an attribute might be set-able by a declaration, not a code snippet.

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

No branches or pull requests

2 participants