Main thread is waiting for an operation on the render thread to complete while holding the handler lock. Something can be waiting on the render thread for this lock. This CL changes the behaviour so that the lock is released before waiting for the operation to complete. BUG=webrtc:6602,webrtc:6470 R=magjed@webrtc.org Review-Url: https://codereview.webrtc.org/2449693003 Cr-Commit-Position: refs/heads/master@{#14773}