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

Cannot access a disposed object. Object name: 'System.Net.Http.HttpClient'. #3

Closed
ogix opened this issue Dec 10, 2016 · 2 comments
Closed

Comments

@ogix
Copy link

ogix commented Dec 10, 2016

In my web app when I try to send a message second time I get this exception. This is because HttpClient is static and it is disposed after the first usage.
What is the reason to make it static?

@angelobelchior
Copy link
Owner

angelobelchior commented Dec 13, 2016

There's no reason! I will fix it!

@angelobelchior
Copy link
Owner

New Version avaliable

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

No branches or pull requests

2 participants