commit | 738df8913db644d33c717b11b9155a2e10e3c6cf | [log] [tgz] |
---|---|---|
author | tkchin@webrtc.org <tkchin@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Wed Jun 04 20:19:39 2014 +0000 |
committer | tkchin@webrtc.org <tkchin@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Wed Jun 04 20:19:39 2014 +0000 |
tree | 2589d76d2c8fbaef8bbdefb884056b20380c4c9a | |
parent | c6db88b0cf3938a66e27750cc4de02fe82729e76 [diff] |
Fix retain cycle in RTCEAGLVideoView. CADisplayLink increases its target's refcount. In order to break retain cycle, we wrap CADisplayLink in a new RTCDisplayLinkTimer class and use that instead. R=fischman@webrtc.org, noahric@chromium.org BUG=3391 Review URL: https://webrtc-codereview.appspot.com/16599006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6331 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/talk/examples/objc/AppRTCDemo/APPRTCConnectionManager.m b/talk/examples/objc/AppRTCDemo/APPRTCConnectionManager.m index 6d0a5a2..b411a62 100644 --- a/talk/examples/objc/AppRTCDemo/APPRTCConnectionManager.m +++ b/talk/examples/objc/AppRTCDemo/APPRTCConnectionManager.m
@@ -101,6 +101,7 @@ [self.peerConnection close]; self.peerConnection = nil; self.client = nil; + self.videoSource = nil; self.queuedRemoteCandidates = nil; }