c4905fb72a01d5fe5788cc33d847c31b039468e3

AndroidVideoCapturerJni dtor is called on signaling thread and may destroy JNI global refs while processing late camera frame arrival in ReturnBuffer_w() in worker thread. Fix this by waiting for all function invoked on worker thread to complete in camera JNI dtor. R=wzh@webrtc.org Review URL: https://webrtc-codereview.appspot.com/49099004 Cr-Commit-Position: refs/heads/master@{#9037}
Description
No description provided
Languages
C++
88.6%
C
3.3%
Java
3%
Objective-C++
1.9%
Python
1.9%
Other
1%