Chromium Code Reviews
DescriptionVideoCapturerAndroid: Check that camera is still running in every *OnCameraThread method
removeCallbacksAndMessages() is called on the camera thread handler
before setting it to null to remove all pending runnables. The purpose
is to make sure *OnCameraThread methods are not executed when the
camera is stopped, but this does not seem to work reliably. This CL
resorts to a belt and braces approach and checks that the the handler is
still alive in all *OnCameraThread methods.
BUG=b/29015569
R=sakal@webrtc.org
Committed: https://crrev.com/2e646c8729f9ca6a07663d9e0ffa82a380742f5d
Cr-Commit-Position: refs/heads/master@{#12981}
Patch Set 1 #
Messages
Total messages: 14 (8 generated)
|
|||||||||||||||||||