Fix for bug 413281 (Firefox leaks when Yahoo Toolbar is installed). r=stuart, sr=sicking.

This commit is contained in:
peterv@propagandism.org 2008-01-24 07:18:14 -08:00
parent 9e46a25ae0
commit 624db2f135

View File

@ -166,6 +166,7 @@ nsresult TimerThread::Shutdown()
nsTimerImpl *timer;
for (PRInt32 i = mTimers.Count() - 1; i >= 0; i--) {
timer = static_cast<nsTimerImpl*>(mTimers[i]);
timer->ReleaseCallback();
RemoveTimerInternal(timer);
}
}