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-17 00:46:22 +0000
commitfcfa734add63933d5799fa76b23353749b776d13 (patch)
treeaed33c9b55a81c12e6e878441ba1d121155cda2c /tools/aapt2/java/JavaClassGenerator_test.cpp
parente3b51569232b879c434fbd9e6ebcc585e9c015d4 (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 Merged-In: Iaea62a0e2f7e7a996c1554b9ed89efb67fbdfc11
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions