mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 546748 - topcrash regression: null dereference in nsRefPtr<T>::assign_assuming_AddRef(AddStyleSheetTxn*) | nsAccEventQueue::Shutdown() [@nsRefPtr<AddStyleSheetTxn>::assign_assuming_AddRef(AddStyleSheetTxn*) | nsAccEventQueue::Shutdown()], r=davidb
This commit is contained in:
parent
4ac915c7e1
commit
796a25bc2e
@ -634,8 +634,10 @@ nsDocAccessible::Shutdown()
|
||||
return NS_OK; // Already shutdown
|
||||
}
|
||||
|
||||
if (mEventQueue) {
|
||||
mEventQueue->Shutdown();
|
||||
mEventQueue = nsnull;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIDocShellTreeItem> treeItem =
|
||||
nsCoreUtils::GetDocShellTreeItemFor(mDOMNode);
|
||||
|
Loading…
Reference in New Issue
Block a user