зеркало из https://github.com/mozilla/gecko-dev.git
Bug 983489 - Crash on nsIAppStartup.quit() - application crashed [@ mozilla::gl::GLContext::MakeCurrent(bool)]. r=nical
This commit is contained in:
Родитель
969d5ff514
Коммит
6664c3e49f
|
@ -131,9 +131,6 @@ LayerManagerComposite::Destroy()
|
|||
RootLayer()->Destroy();
|
||||
}
|
||||
mRoot = nullptr;
|
||||
|
||||
mCompositor->Destroy();
|
||||
|
||||
mDestroyed = true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -241,7 +241,9 @@ CompositorParent::Destroy()
|
|||
|
||||
// Ensure that the layer manager is destructed on the compositor thread.
|
||||
mLayerManager = nullptr;
|
||||
mCompositor->Destroy();
|
||||
mCompositor = nullptr;
|
||||
|
||||
mCompositionManager = nullptr;
|
||||
mApzcTreeManager->ClearTree();
|
||||
mApzcTreeManager = nullptr;
|
||||
|
@ -273,7 +275,6 @@ CompositorParent::RecvWillStop()
|
|||
}
|
||||
mLayerManager->Destroy();
|
||||
mLayerManager = nullptr;
|
||||
mCompositor = nullptr;
|
||||
mCompositionManager = nullptr;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче