зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1501138 - Make sure that timeout iterator advances. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D11327 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
9bf3c6a089
Коммит
9345293ba7
|
@ -793,6 +793,7 @@ TimeoutManager::RunTimeout(const TimeStamp& aNow, const TimeStamp& aTargetDeadli
|
|||
for (RefPtr<Timeout> timeout = mTimeouts.GetFirst();
|
||||
timeout != nullptr;
|
||||
timeout = next) {
|
||||
next = timeout->getNext();
|
||||
// We should only execute callbacks for the set of expired Timeout
|
||||
// objects we computed above.
|
||||
if (timeout->mFiringId != firingId) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче