Bug 1800863: Clear mChildren in DocAccessibleParent::Destroy. r=nlapre

Differential Revision: https://phabricator.services.mozilla.com/D162255
This commit is contained in:
James Teh 2022-11-17 01:53:57 +00:00
Родитель a5eaa5751e
Коммит 033b3705fb
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -1032,6 +1032,7 @@ void DocAccessibleParent::Destroy() {
return;
}
mChildren.Clear();
// The code above should have already completely cleared these, but to be
// extra safe make sure they are cleared here.
thisDoc->mAccessibles.Clear();