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

Nullify unused result in async transform #10783

Closed
wants to merge 1 commit into from

Conversation

som-snytt
Copy link
Contributor

Fixes scala/scala-async#265

Needs more soak time and a test. The idea is that if the incoming awaited value is not consumed, the synthetic reference to it will be a statement in the block. The val for the value is made mutable, so that the reference can be turned into an assign to null.

@scala-jenkins scala-jenkins added this to the 2.13.15 milestone May 21, 2024
@SethTisue SethTisue modified the milestones: 2.13.15, 2.13.16 Aug 14, 2024
@som-snytt som-snytt closed this Sep 11, 2024
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.

Is async macro leaking?
3 participants