diff options
author | Robert Carr <racarr@google.com> | 2019-02-04 15:41:12 -0800 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2019-02-04 15:41:12 -0800 |
commit | cc6d483974c76d4ce29ad23407c12a5f70632d07 (patch) | |
tree | 9e88302db22a2ab20b5f6f37a02864b371967746 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | affa55b49baebce7ae1b8bb893e015379df83a49 (diff) |
SurfaceControl: Fix release
Currently we call decStrong causing ~SurfaceControl to be invoked.
If mOwned=true this will cause a reparent to null which is not the
intended behavior of release. We call SurfaceControl#release before
decStrong to fix this. Also we have destroy call destroy to be less
confusing.
Bug: 123587983
Test: SurfaceControlTest
Change-Id: I86faa9d1eb850ac6437fc870b126a1473ee091e3
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions