DescriptionAndroid SurfaceViewRenderer: Fix deadlock
Deadlock caused by two methods grabbing two locks in the opposite order:
renderFrame():
handlerLock
layoutLock
onMeasure():
layoutLock
handlerLock
This CL removs the nested locking to fix the deadlock and make it less
error prone for the future.
BUG=webrtc:6003
R=sakal@webrtc.org
Committed: https://crrev.com/897d932e0b0b81b81393316692d8687e5975a62a
Cr-Commit-Position: refs/heads/master@{#13364}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressing samis comments #Messages
Total messages: 15 (8 generated)
|