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

Add modules as nix GC roots? #3

Open
t184256 opened this issue Sep 24, 2018 · 0 comments
Open

Add modules as nix GC roots? #3

t184256 opened this issue Sep 24, 2018 · 0 comments

Comments

@t184256
Copy link
Owner

t184256 commented Sep 24, 2018

In my limited understanding, nix garbage collector can currently collect our modules from under our feet while the interpreter using them is still running.

Other than praying for this to not happen, what can we really do? Add them as GC roots and remove them with an atexit hook?

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

1 participant