FindPackageByIdResource.GetAllVersionsAsync() does not close conneection #11167
Unanswered
nhuethmayr
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using FindPackageByIdResource.GetAllVersionsAsync() (version 5.11) to check for available updates and saw that when the task returns, the TCP connection remains established.
If I use said method again (ie: a user tries to look for updates multiple times), I get another connection.

To me, this seems like the HTTP connection is not closed when the async tasks complete. I also could not find a way to close it forcefully (through Dispose()) or the likes.
Beta Was this translation helpful? Give feedback.
All reactions