зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
0192e35de6
Коммит
1f7a9d234d
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче