mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bugzilla bug 362768: commented out the _pt_thread_death call in _PR_Fini
that was causing a hang on Mozilla shutdown. It may not be safe to call NSPR thread private data destructors in _PR_Fini.
This commit is contained in:
parent
8387058aa6
commit
9ad9fc306a
@ -987,7 +987,9 @@ static void _PR_Fini(void)
|
||||
_PT_PTHREAD_GETSPECIFIC(pt_book.key, thred);
|
||||
if (NULL != thred)
|
||||
{
|
||||
#if 0 /* see bug 362768 comment 14 */
|
||||
_pt_thread_death(thred);
|
||||
#endif
|
||||
rv = pthread_setspecific(pt_book.key, NULL);
|
||||
PR_ASSERT(0 == rv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user