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

readSVar doesn't allow values to be garbage collected #3

Closed
dtaskoff opened this issue Dec 24, 2018 · 0 comments
Closed

readSVar doesn't allow values to be garbage collected #3

dtaskoff opened this issue Dec 24, 2018 · 0 comments

Comments

@dtaskoff
Copy link
Owner

dtaskoff commented Dec 24, 2018

In the following scenario:

s <- newSVar value
consume =<< readSVar s

value is not garbage collected after being consumed, although it's not needed anymore.

@dtaskoff dtaskoff changed the title readSVar doesn't allow value to be garbage collected readSVar doesn't allow values to be garbage collected Dec 24, 2018
@dtaskoff dtaskoff changed the title readSVar doesn't allow values to be garbage collected readSVar doesn't allow values to be garbage collected Dec 24, 2018
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