Bug 154753 nsExceptionService ignoring thread destruction after shutdown
r=dougt sr=smfr git-svn-id: svn://10.0.0.236/trunk@124914 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f058a4042f
commit
bbdd8e0b52
@ -197,13 +197,14 @@ void nsExceptionService::ThreadDestruct( void *data )
|
||||
|
||||
void nsExceptionService::Shutdown()
|
||||
{
|
||||
mProviders.Reset();
|
||||
if (lock) {
|
||||
mProviders.Reset();
|
||||
DropAllThreads();
|
||||
PR_SetThreadPrivate(tlsIndex, nsnull);
|
||||
PR_DestroyLock(lock);
|
||||
lock = nsnull;
|
||||
}
|
||||
PR_SetThreadPrivate(tlsIndex, nsnull);
|
||||
} else
|
||||
PR_SetThreadPrivate(tlsIndex, nsnull);
|
||||
}
|
||||
|
||||
/* void setCurrentException (in nsIException error); */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user