You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RestSharp
I created a singleton Restsharp client to share among multi-threaded calls to the same base url, but I'm getting ObjectDisposedException on the HttpClient within - what did I do wrong, was it because my Singleton was disposable and had code to dispose the Restsharp client?
Bo Ngoh
unread,
Jun 29, 2023, 11:06:10 PM6/29/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RestSharp
Cancelled - this was a strange issue, we fixed a bug on the database which was holding up a lot of calls due to timeouts then this happened, but then i also realised lots of other classes and dlls were having the same problem not just httpclient. Restarted the service and the issues all went away, going to put down the cause as most likely not Restsharp-related.