Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Issue 1516943002: Reland of Free SCTP data channels asynchronously in PeerConnection. (Closed)

Created:
5 years ago by Taylor Brandstetter
Modified:
5 years ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Reland of Free SCTP data channels asynchronously in PeerConnection. (patchset #1 id:1 of https://codereview.webrtc.org/1513143003/ ) Original issue's description: > Revert of Free SCTP data channels asynchronously in PeerConnection. (patchset #3 id:40001 of https://codereview.webrtc.org/1492383002/ ) > > Reason for revert: > Breaks WebrtcTransportTest.DataStream, due to different rtc::Thread implementation on Chromium. > > Original issue's description: > > Free SCTP data channels asynchronously in PeerConnection. > > > > This is needed so that the data channel isn't deleted while one of its > > own methods is on the call stack. > > > > BUG=565048 > > > > Committed: https://crrev.com/386869247f28e72a00307a1b5c92465eea343ad2 > > Cr-Commit-Position: refs/heads/master@{#10923} > > TBR=pthatcher@webrtc.org > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=565048 > > Committed: https://crrev.com/a1f567ae9012a8de573b5bde492dd9ca0d17f137 > Cr-Commit-Position: refs/heads/master@{#10977} BUG=565048 Committed: https://crrev.com/bd292465ee6d8219b04f17e2ffc0790313167f01 Cr-Commit-Position: refs/heads/master@{#11015}

Patch Set 1 #

Patch Set 2 : Don't rely on Thread::Clear to delete data channels since this causes a deadlock with JingleThreadW… #

Total comments: 2

Patch Set 3 : Adding RTC_DCHECK as suggested. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -0 lines) Patch
M talk/app/webrtc/peerconnection.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M talk/app/webrtc/peerconnection.cc View 1 2 3 chunks +10 lines, -0 lines 0 comments Download
M talk/app/webrtc/peerconnectionendtoend_unittest.cc View 1 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Taylor Brandstetter
Created Reland of Free SCTP data channels asynchronously in PeerConnection.
5 years ago (2015-12-10 19:31:47 UTC) #1
Taylor Brandstetter
5 years ago (2015-12-10 20:14:43 UTC) #3
pthatcher1
lgtm https://codereview.webrtc.org/1516943002/diff/70001/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1516943002/diff/70001/talk/app/webrtc/peerconnection.cc#newcode1918 talk/app/webrtc/peerconnection.cc:1918: sctp_data_channels_to_free_.push_back(*it); We should probably add a RTC_DCHECK(signaling_thread()->IsCurrent()) to ...
5 years ago (2015-12-11 02:55:01 UTC) #4
Taylor Brandstetter
https://codereview.webrtc.org/1516943002/diff/70001/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1516943002/diff/70001/talk/app/webrtc/peerconnection.cc#newcode1918 talk/app/webrtc/peerconnection.cc:1918: sctp_data_channels_to_free_.push_back(*it); On 2015/12/11 02:55:01, pthatcher1 wrote: > We should ...
5 years ago (2015-12-11 18:21:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1516943002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1516943002/90001
5 years ago (2015-12-14 19:27:27 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) linux_baremetal on ...
5 years ago (2015-12-14 21:28:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1516943002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1516943002/90001
5 years ago (2015-12-15 02:01:47 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:90001)
5 years ago (2015-12-15 02:15:33 UTC) #14
commit-bot: I haz the power
5 years ago (2015-12-15 02:15:40 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bd292465ee6d8219b04f17e2ffc0790313167f01
Cr-Commit-Position: refs/heads/master@{#11015}

Powered by Google App Engine
This is Rietveld 408576698