Backing out the fix for 154753, which caused a crash at shutdown. sr=sfraser

git-svn-id: svn://10.0.0.236/trunk@124935 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
akkana%netscape.com 2002-07-10 04:05:56 +00:00
parent 3c342a7ce4
commit d116ada324

View File

@ -197,14 +197,13 @@ void nsExceptionService::ThreadDestruct( void *data )
void nsExceptionService::Shutdown()
{
mProviders.Reset();
if (lock) {
mProviders.Reset();
DropAllThreads();
PR_SetThreadPrivate(tlsIndex, nsnull);
PR_DestroyLock(lock);
lock = nsnull;
} else
PR_SetThreadPrivate(tlsIndex, nsnull);
}
PR_SetThreadPrivate(tlsIndex, nsnull);
}
/* void setCurrentException (in nsIException error); */