summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2020-03-12 17:55:29 -0700
committerMikhail Naganov <mnaganov@google.com>2020-03-12 17:59:15 -0700
commit61c109cc7cd78a02bb966561a09c35fb29eecde0 (patch)
tree7403884bf4e6ad47bf78353b2e2dc3d2248e2502 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent365caf6f0460744369fd9394a5642d58e4980d72 (diff)
Visualizer: Fix race condition in setCaptureCallBack
Visualizer:setCaptureCallBack needs to make a local copy of the CaptureThread pointer before temporarily releasing mCaptureLock. Otherwise, mCaptureThread can be released in the meantime from Visualizer::release Bug: 149375271 Test: use EffectsTest app with "Multithreaded Use" for the Visualizer test. Repeat releasing the effect while capture via callback is active. Change-Id: Iaea62a0e2f7e7a996c1554b9ed89efb67fbdfc11
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions