commit | 30feb8c162aa2e5348bba20e99e8db2a61bac6e7 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Wed Sep 28 10:48:29 2022 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Wed Sep 28 22:41:23 2022 +0000 |
tree | 8e3a284b77bb11cc68b1c23bc246aa404075598d | |
parent | df1bc0560cbdc76837b308652b45a32c2d064cd9 [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 Change-Id: I298f43172472f74fa4d5d8e0b7f52bd5c13d14f7