summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2021-03-04 17:59:46 +0800
committerCharles Chen <charlesccchen@google.com>2021-03-09 21:39:38 +0800
commit045230a4329620eac05d439ecb96c0387a72b6a5 (patch)
treeb4c29866f072306f80c54789abbf34f678201c7e /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent5d3166d40316b7a2864f37a5098f3e9de7ed1021 (diff)
Fix deadlock between WMG and WMS
The dealock happened while WM#addView and WMS holds lock and called onWindowTokenRemoved. WM#addView -> WMG#addView(holds WMG lock) -> ... -> WMS#addWindow(holds WMS lock) (holds WMS lock) ... -> WindowTokenClient#onWindowTokenRemoved ... -> WMG#closeAll(holds WMG lock) This CL calls to WMG#closeAll asynchronously to release WMG lock fixes: 181839758 Test: manual Change-Id: I0cf8a505043a4def4dcf346952873b1362a92084
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions