* If a ThreadAbortException reaches AuthUser() then let it pass through unmolested

* These are only thrown on client shutdown anyway
* This stops the console (harmlessly) spewing stack traces when a client logs off
0.6.0-stable
Justin Clarke Casey 2008-06-04 01:25:31 +00:00
parent 8983877664
commit 0a2d399cad
1 changed files with 4 additions and 0 deletions

View File

@ -725,6 +725,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
catch (Exception e)
{
// ThreadAbortExceptions need to go through unmolested.
if (e is ThreadAbortException)
throw e;
// Don't let a failure in an individual client thread crash the whole sim.
// FIXME: could do more sophisticated cleanup since leaving client resources around may
// cause instability for the region server over time.