diff --git a/dom/base/Console.cpp b/dom/base/Console.cpp index f22ae0f9f93..3b5d738d13c 100644 --- a/dom/base/Console.cpp +++ b/dom/base/Console.cpp @@ -918,7 +918,7 @@ Console::Notify(nsITimer *timer) delete data; } - if (mQueuedCalls.isEmpty()) { + if (mQueuedCalls.isEmpty() && mTimer) { mTimer->Cancel(); mTimer = nullptr; }