зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1362839 - Handle GPU resets more gracefully. r=sotaro
This commit is contained in:
Родитель
7accd1c409
Коммит
5317ca1f27
|
@ -324,6 +324,11 @@ WebRenderBridgeChild::AddOpDestroy(const OpDestroy& aOp)
|
|||
void
|
||||
WebRenderBridgeChild::ReleaseCompositable(const CompositableHandle& aHandle)
|
||||
{
|
||||
if (!IPCOpen()) {
|
||||
// This can happen if the IPC connection was torn down, because, e.g.
|
||||
// the GPU process died.
|
||||
return;
|
||||
}
|
||||
if (!DestroyInTransaction(aHandle)) {
|
||||
SendReleaseCompositable(aHandle);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче