DescriptionAdd PeerConnection IsClosed check.
Add IsClosed check when excuting some functions so that they can return early if the PeerConnection is closed.
The observer will not be called after the PeerConnection is closed.
BUG=webrtc:5861
Committed: https://crrev.com/29ff8446c0c89114729f6b8cfe49063c899b5764
Cr-Commit-Position: refs/heads/master@{#13544}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Modified the checks. Modified the peerconnectioninterface unit test. #
Total comments: 1
Patch Set 3 : Inject the TransportController to PeerConnection. #
Total comments: 1
Patch Set 4 : Minor Changes. #
Total comments: 6
Patch Set 5 : Change the webrtcsession constructor. #
Total comments: 4
Patch Set 6 : Make it an unique_ptr when passing the TransportController to WebRtcSession. #
Messages
Total messages: 26 (7 generated)
|