Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Fix HttpClientExtensions to dispose of HttpResponseMessage when it goes out of scope #598

Closed

Conversation

gizmohd
Copy link

@gizmohd gizmohd commented Oct 28, 2024

Fix HttpClientExtensions to dispose of HttpResponseMessage when it goes out of scope to resolve a memory leak because the response objects are not getting disposed of on time.

Some applications are very chatty and when that happens GC may not clean up all the objects on time.

@damianh
Copy link
Contributor

damianh commented Nov 17, 2024

Hi @gizmohd, thanks for your contribution. The PR looks reasonable.

We're now maintaining IdentityModel as Duende.IdentityModel in this repository. I can either manually copy your changes over, or, if you want your name on the commit you can resubmit over there? Up to yourself.

@gizmohd
Copy link
Author

gizmohd commented Nov 19, 2024 via email

@damianh
Copy link
Contributor

damianh commented Feb 10, 2025

Migrated to DuendeSoftware/foss#95

@damianh damianh closed this Feb 10, 2025
damianh added a commit to DuendeSoftware/foss that referenced this pull request Feb 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants