mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 154753 nsExceptionService ignoring thread destruction after shutdown
r=dougt sr=smfr
This commit is contained in:
parent
176809e684
commit
479b756af5
@ -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…
Reference in New Issue
Block a user