ObjectDisposedException after coming back from hibernate

J

Jon Skeet [C# MVP]

Our app has blown up with the following exception (despite catch
clauses in all "our" threads) when resuming from hibernation. I assume
(from the stacktrace) that it was in the middle of sending a request
when it went wrong.

Any suggestions as to how to rectify this?


Client.exe
ObjectDisposedException
System.Net.Sockets.Socket

Socket::throwIfDisposed+0x19
Socket::poll+0x6
Connection::sendRequest+0x26
WorkItem::doWork+0x36
Timer::ring+0x59
 
G

Guest

I have a similar error from time to time in my app that uses UDP comms. Sure would like to know the solution

Thanks.
 
J

Jon Skeet [C# MVP]

Jon Skeet said:
Our app has blown up with the following exception (despite catch
clauses in all "our" threads) when resuming from hibernation. I assume
(from the stacktrace) that it was in the middle of sending a request
when it went wrong.

Hmm... we've had it another couple of times today, with no hibernation
involved, so it looks like that bit was a red herring. Still no idea
why it's happened though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top