зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1700076 - Allow nsHostResolver::FlushCache to clear Type records from the cache r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D109588
This commit is contained in:
Родитель
ca325c9add
Коммит
5094c19438
|
@ -803,8 +803,13 @@ void nsHostResolver::FlushCache(bool aTrrToo) {
|
|||
if (record->isInList()) {
|
||||
record->remove();
|
||||
}
|
||||
LOG(("Removing (%s) Addr record from mRecordDB", record->host.get()));
|
||||
iter.Remove();
|
||||
}
|
||||
} else if (aTrrToo) {
|
||||
// remove by type records
|
||||
LOG(("Removing (%s) type record from mRecordDB", record->host.get()));
|
||||
iter.Remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче