summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2022-09-28 10:48:29 -0700
committer Siarhei Vishniakou <svv@google.com> 2022-09-29 16:59:46 +0000
commit6c57b2f55412a04a3a9d738af0185d0ca26f932f (patch)
tree78b4c5beea96b6f7453a5cc2aa5b1d45615baa75 /services/surfaceflinger/RegionSamplingThread.cpp
parent3b3e59185dc1e9a319d8ce20ac19c30a966a5a9c (diff)
Delete mController when eventHub device is going away
When an event hub device is going away, the controller associated with it should be deleted. Before this CL, mController would remain, and its use would result in an illegal memory access, because it was storing a reference to a deleted context. Bug: 245770596 Test: atest inputflinger_tests:InputDeviceTest#DumpDoesNotCrash Merged-In: I298f43172472f74fa4d5d8e0b7f52bd5c13d14f7 Change-Id: I298f43172472f74fa4d5d8e0b7f52bd5c13d14f7 (cherry picked from commit 30feb8c162aa2e5348bba20e99e8db2a61bac6e7)
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions