Skip to content

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
@som-snytt som-snytt force-pushed the issue/async-265-leak branch from d92d257 to 76d46ee Compare May 21, 2024 01:22
@SethTisue SethTisue modified the milestones: 2.13.15, 2.13.16 Aug 14, 2024
@som-snytt som-snytt closed this Sep 11, 2024
@SethTisue SethTisue removed this from the 2.13.16 milestone Nov 5, 2024
@som-snytt som-snytt reopened this Nov 9, 2024
@scala-jenkins scala-jenkins added this to the 2.13.16 milestone Nov 9, 2024
@SethTisue SethTisue modified the milestones: 2.13.16, 2.13.17 Dec 12, 2024
@som-snytt som-snytt force-pushed the issue/async-265-leak branch from 76d46ee to aeb513d Compare May 14, 2025 08:13
@som-snytt
Copy link
Contributor Author

rebased only

@lrytz lrytz modified the milestones: 2.13.17, 2.13.18 Sep 1, 2025
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?
4 participants