diff --git a/xpcom/threads/nsTimerImpl.cpp b/xpcom/threads/nsTimerImpl.cpp index 4517dbb5561..bd7ae7adfb7 100644 --- a/xpcom/threads/nsTimerImpl.cpp +++ b/xpcom/threads/nsTimerImpl.cpp @@ -391,7 +391,8 @@ void nsTimerImpl::Fire() // calling Fire(). timeout -= PR_MillisecondsToInterval(mDelay); } - gThread->UpdateFilter(mDelay, timeout, now); + if (gThread) + gThread->UpdateFilter(mDelay, timeout, now); mFiring = PR_TRUE;