Bug 983489 - Crash on nsIAppStartup.quit() - application crashed [@ mozilla::gl::GLContext::MakeCurrent(bool)]. r=nical

This commit is contained in:
Vincent Chen 2014-04-17 02:11:00 +02:00
Родитель 969d5ff514
Коммит 6664c3e49f
2 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -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;
}