ObjectDisposedException ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

Sometimes, i get this exception when i quit my application
Runtime

myexe.ex
ObjectDisposeExceptio
Waithandle::CheckResultInternal+0x1
ManualResetEvent::Set+0x1
HttpWebRequest::handleError+0x6
HttpWebRequest::startReceiving+0x10
Connection::StartReceiving+0x2
WorkItem::doWork+0x3
Timer::ring+0x5

When you quit the application, it makes an HTTPrequest
There is "try/catch" blocks in the code
Should i add "try/catch" block inside "finally" block

Have you got any clue about this exception

Thank
Gérar
 
G?rard said:
Sometimes, i get this exception when i quit my application :
Runtime :

myexe.exe
ObjectDisposeException
Waithandle::CheckResultInternal+0x1C
ManualResetEvent::Set+0x11
HttpWebRequest::handleError+0x61
HttpWebRequest::startReceiving+0x100
Connection::StartReceiving+0x29
WorkItem::doWork+0x36
Timer::ring+0x59

When you quit the application, it makes an HTTPrequest.
There is "try/catch" blocks in the code.
Should i add "try/catch" block inside "finally" block ?

Have you got any clue about this exception ?

I've seen the same thing before. I think it's *usually* when the device
comes out of hibernation, but not always.

The reason try/catch isn't helping is that it's happening on a
different thread.
 
Back
Top