commit | 005c63e8c6e6e5b312dc9c4631c57fb12224df30 | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Fri Sep 20 14:31:24 2019 -0700 |
committer | Robert Carr <racarr@google.com> | Fri Sep 20 14:48:40 2019 -0700 |
tree | 939eaeca0159a44bca7b5abf44f41f5096c1fb90 | |
parent | c48da419931a3a9272910f2631f815cecf05c9ba [diff] |
SurfaceView: Destroy SurfaceControl from RenderThread Currently there is a race where the UI thread can destroy the SurfaceControl (free the C++ object) while the RenderThread still has pending operations on it. To fix have the positionLost callback handle the destruction. Bug: 139111930 Bug: 136808018 Test: go/wm-smoke Change-Id: Id5225e1e47046d928f8298de38ff61662debe360