summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2007-01-13 01:20:41 +0000
committerwtchang%redhat.com <devnull@localhost>2007-01-13 01:20:41 +0000
commitcf344671902b0a8b009f8c9f48c02d2604ad571d (patch)
tree3d33f948c0c4e84189b08285797a7bcadb82c3e3
parent2c21c409dbaff98ef67f8516071545434304a323 (diff)
downloadnspr-hg-cf344671902b0a8b009f8c9f48c02d2604ad571d.tar.gz
Bugzilla bug 362768: restored the _pt_thread_death call in _PR_Fini because
the cause of the hang on Mozilla shutdown (JavaScript bug 366869) has been fixed.
-rw-r--r--pr/src/pthreads/ptthread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pr/src/pthreads/ptthread.c b/pr/src/pthreads/ptthread.c
index c216f4d1..1c499908 100644
--- a/pr/src/pthreads/ptthread.c
+++ b/pr/src/pthreads/ptthread.c
@@ -987,9 +987,7 @@ 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);
}