summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2007-01-13 01:18:37 +0000
committerwtchang%redhat.com <devnull@localhost>2007-01-13 01:18:37 +0000
commitc2829cbf828ee47a7da59552d2370f97677de304 (patch)
tree3d33f948c0c4e84189b08285797a7bcadb82c3e3
parent7ea465f945e1111b53edef88bd14b3a50711b962 (diff)
downloadnspr-hg-c2829cbf828ee47a7da59552d2370f97677de304.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. Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-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);
}