gecko-dev/mobile
Jamie Nicol f1a1d66351 Bug 1756569 - Handle null connection in GeckoProcessManager.getCompositorSurfaceManager. r=geckoview-reviewers,calu
If the GPU process crashes immediately after startup, before
GPUProcessHost calls getCompositorSurfaceManager, then the
getExistingConnection call will return null. This wasn't being
handled, resulting in a parent process crash due to a null pointer
exception.

This patch simply returns null from getCompositorSurfaceManager if it
cannot find the GpuProcessConnection. This will avoid the parent
process crash, allowing the GPU process crash to be handled
correctly (sending a crash report and restarting/disabling the GPU
process).

Differential Revision: https://phabricator.services.mozilla.com/D139943
2022-03-01 17:54:35 +00:00
..
android Bug 1756569 - Handle null connection in GeckoProcessManager.getCompositorSurfaceManager. r=geckoview-reviewers,calu 2022-03-01 17:54:35 +00:00
locales Bug 1733497 - Remove region.properties. r=geckoview-reviewers,m_kato,flod 2022-01-13 21:18:30 +00:00
.eslintrc.js