Skip to content

Conversation

@He-Pin
Copy link
Contributor

@He-Pin He-Pin commented Dec 28, 2024

Motivation:
When the downstream is not polling it will leak the builder, it was reported in pekko project.
refs: apache/pekko#1623

Modification:
Set the builder to null before submitting to emit.

Result:
Fix leak.

Note: When upstream finished but downstream is not polling, then the builder is leaked, was reported in pekko.
Copy link
Contributor

@johanandren johanandren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@johanandren johanandren merged commit 9a7ee29 into akka:main Jan 7, 2025
5 checks passed
@johanandren johanandren added this to the 2.10.1 milestone Jan 7, 2025
@He-Pin He-Pin deleted the prefixAndTail branch January 7, 2025 08:15
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.

2 participants