Skip to content

Fix leak of url sessions in GoogleUtilities #1933

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

Merged
merged 1 commit into from
Oct 16, 2018

Conversation

morganchen12
Copy link
Contributor

Fixes #1917 and #1892. This PR takes a more conservative approach, only invalidating at the end of the URL request lifecycle and adds some minor error reporting.

@morganchen12 morganchen12 requested a review from paulb777 October 11, 2018 19:17
@paulb777 paulb777 requested a review from htcgh October 11, 2018 19:27
@morganchen12 morganchen12 force-pushed the urlsession branch 2 times, most recently from f8cbdef to 3a50f8e Compare October 12, 2018 16:32
Copy link
Member

@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

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

Good to go when internally requested formatting updates are applied.

@morganchen12
Copy link
Contributor Author

Internal code review changes have been patched to this PR. Will merge when TAP passes.

Copy link
Member

@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

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

SGTM

@morganchen12
Copy link
Contributor Author

morganchen12 commented Oct 16, 2018

Test failed on macOS due to Xcode build system crash, merging anyway (all iOS tests pass)

@morganchen12 morganchen12 merged commit 52c0085 into firebase:master Oct 16, 2018
@morganchen12 morganchen12 deleted the urlsession branch October 16, 2018 22:35
@firebase firebase locked and limited conversation to collaborators Oct 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leak in GULNetworkURLSession
3 participants