зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1330765 - Only attempt to shutdown a11y if last XPC doc was just removed. r=surkov
This commit is contained in:
Родитель
71df028548
Коммит
39a6c4774c
|
@ -92,10 +92,10 @@ DocManager::RemoveFromXPCDocumentCache(DocAccessible* aDocument)
|
|||
if (xpcDoc) {
|
||||
xpcDoc->Shutdown();
|
||||
mXPCDocumentCache.Remove(aDocument);
|
||||
}
|
||||
|
||||
if (!HasXPCDocuments()) {
|
||||
MaybeShutdownAccService(nsAccessibilityService::eXPCOM);
|
||||
if (!HasXPCDocuments()) {
|
||||
MaybeShutdownAccService(nsAccessibilityService::eXPCOM);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче