Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 70093fd5 authored by Patrick Williams's avatar Patrick Williams
Browse files

SF: log fatal if layer destroyed off main thread

We're seeing occasional nullptr errors when LayerFE accesses its
mSnapshot member during SurfaceFlinger::composite calls. One way this
may happen is if a Layer is destroyed during SurfaceFlinger::composite,
causing LayerFE to receive a null snapshot. Adding these logs should
help to identify the root cause and prevent LayerFE::mSnapshot nullptr
errors.

Bug: 261627672
Test: presubmits

Change-Id: I83b3fa304c65ae2dbe936f0f2bdc08045ed96d1f
parent d1d22742
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment