2f65ac143782ee7f57b2b5ee3a9981d5843ed1f8

Don't dismiss the presented view controller if it's already being dismissed to clear a warning about dismissing from a view controller while a dismiss is in progress. Remove the sample buffer delegate when capture is being stopped to avoid a crash when a delegate method is sent to a deallocated object. BUG=webrtc:4734 R=jiayl@webrtc.org, tkchin@webrtc.org Review URL: https://webrtc-codereview.appspot.com/54669004. Patch from Jon Hjelle <hjon@andyet.net>. Cr-Commit-Position: refs/heads/master@{#9430}
Description
No description provided
Languages
C++
88.6%
C
3.3%
Java
3%
Objective-C++
1.9%
Python
1.9%
Other
1%