diff options
| author | 2022-12-12 16:51:52 +0000 | |
|---|---|---|
| committer | 2022-12-12 16:57:57 +0000 | |
| commit | 70093fd524140907511e762650bfe0de9a1a9b09 (patch) | |
| tree | a98311d687aa765e8f067651424f9724ae80bfbc /libs/jpegrecoverymap/jpegencoderhelper.cpp | |
| parent | d1d227421b46588ec52c91c89e71a8e945b6ec21 (diff) | |
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
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions