appdomain unload ->System.Threading.ThreadAbortException: Thread was being aborted

  • Thread starter Thread starter José Joye
  • Start date Start date
J

José Joye

When I unload an appdomain I have created, I always get the following
exeption:

System.Threading.ThreadAbortException: Thread was being aborted.

Before calling the Unload() method, I set to null all the references I have
to objects in the AppDomain.


Any idea?
Thanks,
José
 
This is by design, a Thread.Abort is performed on all threads in an
application domain that is being unloaded.
It's up to you to handle or ignore the exception.

Willy.
 
Thanks,

I will hide it...

José
Willy Denoyette said:
This is by design, a Thread.Abort is performed on all threads in an
application domain that is being unloaded.
It's up to you to handle or ignore the exception.

Willy.
 
Back
Top