Skip to content

Weakify urlSessionStream in request callbacks to avoid retain cycles#359

Merged
rebello95 merged 1 commit into
connectrpc:mainfrom
VamaSingapore:stream-retain-cycle-fix
Jul 4, 2025
Merged

Weakify urlSessionStream in request callbacks to avoid retain cycles#359
rebello95 merged 1 commit into
connectrpc:mainfrom
VamaSingapore:stream-retain-cycle-fix

Conversation

@patryk-sredzinski

@patryk-sredzinski patryk-sredzinski commented Jul 4, 2025

Copy link
Copy Markdown
Contributor

This is a proposal that solves the issue: #358

@patryk-sredzinski patryk-sredzinski changed the title Fixes Retain Cycle in Streams Weakify urlSessionStream in request callbacks to avoid retain cycles Jul 4, 2025

@rebello95 rebello95 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you for the fix! Please address the DCO CI failure, and we can merge after 😄

Signed-off-by: Patryk Średziński <sredzinski.patryk@gmail.com>
@patryk-sredzinski patryk-sredzinski force-pushed the stream-retain-cycle-fix branch from 8b321a0 to dcc9702 Compare July 4, 2025 15:00
@patryk-sredzinski

Copy link
Copy Markdown
Contributor Author

Corrected the Commit. Is it fine now?

@rebello95 rebello95 merged commit 5b1e0a3 into connectrpc:main Jul 4, 2025
13 checks passed
@rebello95

Copy link
Copy Markdown
Collaborator

Yes, thank you!

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