зеркало из https://github.com/mozilla/gecko-dev.git
Bug 224723 NS_ASSERTION(boxObject, "no box object!"); timer fired after tree was destroyed
r=varga sr=dbaron
This commit is contained in:
Родитель
1406b54021
Коммит
01315d0ab1
|
@ -285,6 +285,10 @@ NS_IMETHODIMP nsTreeSelection::GetTree(nsITreeBoxObject * *aTree)
|
|||
|
||||
NS_IMETHODIMP nsTreeSelection::SetTree(nsITreeBoxObject * aTree)
|
||||
{
|
||||
if (mSelectTimer) {
|
||||
mSelectTimer->Cancel();
|
||||
mSelectTimer = nsnull;
|
||||
}
|
||||
mTree = aTree; // WEAK
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче