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

chore: null out ref for closed stream. #1615

Closed
wants to merge 1 commit into from
Closed

Conversation

He-Pin
Copy link
Member

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

Motivation:
reduce hard ref to help gc
refs: #1566

Modification:
Null out the ref when the Inlet will never be used.

@He-Pin He-Pin added the t:stream Pekko Streams label Dec 21, 2024
@He-Pin He-Pin added this to the 1.1.3 milestone Dec 21, 2024
@He-Pin
Copy link
Member Author

He-Pin commented Dec 21, 2024

Okay, just forgot it's immutable...

@He-Pin He-Pin closed this Dec 21, 2024
@pjfanning pjfanning removed this from the 1.1.3 milestone Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:stream Pekko Streams
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants