--- security/manager/ssl/src/nsSSLThread.cpp.orig 2008-04-12 13:47:24.000000000 +0900
+++ security/manager/ssl/src/nsSSLThread.cpp
+@@ -916,7 +916,7 @@ void nsSSLThread::Run(void)
+ // remember whether we'll write or read
+ nsSSLSocketThreadData::ssl_state busy_socket_ssl_state;
+
+- {
++ if (ssl_thread_singleton) {
+ // In this scope we need mutex protection,
+ // as we find out what needs to be done.
+
@@ -1078,7 +1078,7 @@ void nsSSLThread::Run(void)
// avoid setting event repeatedly
PRBool needToSetPollableEvent = PR_FALSE;