diff options
| author | 2016-06-06 11:09:05 +0800 | |
|---|---|---|
| committer | 2016-06-06 11:09:05 +0800 | |
| commit | 7b9f5be9149dc84cd16842757ee6fe04f3092dc1 (patch) | |
| tree | a85af7bce4b0ca66bfa0345b5e9ba7fb9da5d192 /libs/hwui/FrameInfoVisualizer.h | |
| parent | 4d14e9d461fe60c38c8ec4348a21f7b27de06814 (diff) | |
Delete Visualizer before lpJniStorage
It is related to Change: Id17bea8a6ca7132042b9bfefed398a715c139be7
Fix ANR because of bug of Visualizer.
If lpJniStorage was delete first, callback_data_lock become a invalid value.
At mReceiver.periodicCapture() in CaptureThread, it will lock callback_data_lock.
Thus, CaptureThread will wait a invalid memory forever and visualizer wait CaptureThread exiting and causing ANR.
Signed-off-by: ganxiaolin <ganxiaolin@xiaomi.com>
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.h')
0 files changed, 0 insertions, 0 deletions