Merge branch 'charlesmchen/anotherCallLeak'

pull/1/head
Matthew Chen 8 years ago
commit ab7c1698cf

@ -143,8 +143,8 @@ class CallViewController: UIViewController, CallObserver, CallServiceObserver, R
name:NSNotification.Name.UIApplicationDidBecomeActive,
object:nil)
NotificationCenter.default.addObserver(forName: CallAudioServiceSessionChanged, object: nil, queue: nil) { _ in
self.didChangeAudioSession()
NotificationCenter.default.addObserver(forName: CallAudioServiceSessionChanged, object: nil, queue: nil) { [weak self] _ in
self?.didChangeAudioSession()
}
}

Loading…
Cancel
Save