summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorAdam He <adamhe@google.com>2021-04-26 13:52:01 -0700
committerAdam He <adamhe@google.com>2021-04-29 13:56:58 -0700
commit1acd0739fafe07d21dd5c11446c72179775ee7dc (patch)
treee1b7278c0ec4fe484178ed79b550b951c83f6acf /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent8a170b2edf8a7f0ba691aef118900af8789e7300 (diff)
Change clearEvents() to clear existing events rather than setting
mEvents to null to remove possible NPE. * clearEvents() needs to be called by destroy() which could cause race condition on whether mEvents is null for other func calls. Fixes: 185162720 Test: atest CtsContentCaptureServiceTestCases Change-Id: I7330e651bc890c8a86822158efcf17a61e927112
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions