Bug 288242. Bad accessible shutdown procedure, leading to creation of new objects right when we're trying to bring things to an end. r=pkwarren, sr=demose

This commit is contained in:
aaronleventhal%moonset.net 2005-04-02 00:58:45 +00:00
Родитель 0192e35de6
Коммит 1f7a9d234d
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -279,8 +279,8 @@ NS_IMETHODIMP nsAccessible::Shutdown()
nsCOMPtr<nsIAccessible> current(mFirstChild), next;
while (current) {
nsCOMPtr<nsPIAccessible> privateAcc(do_QueryInterface(current));
privateAcc->SetParent(nsnull);
current->GetNextSibling(getter_AddRefs(next));
privateAcc->SetParent(nsnull);
current = next;
}
}