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

Issue 1492383002: 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

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}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Changing from MSG_FREE_DATACHANNEL to generic MSG_DELETE. #

Patch Set 3 : Adding unit test. #

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

Messages

Total messages: 16 (5 generated)
Taylor Brandstetter
5 years ago (2015-12-03 19:19:27 UTC) #2
pthatcher1
Is it possible to write a unit test for this? https://codereview.webrtc.org/1492383002/diff/1/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1492383002/diff/1/talk/app/webrtc/peerconnection.cc#newcode1321 ...
5 years ago (2015-12-03 19:45:15 UTC) #3
Taylor Brandstetter
I'm not sure how to go about writing a unit test. Would it be a ...
5 years ago (2015-12-04 19:27:45 UTC) #4
Taylor Brandstetter
Ok, added unit test. I verified that this catches the issue if it's introduced again.
5 years ago (2015-12-04 21:03:56 UTC) #5
pthatcher1
lgtm
5 years ago (2015-12-05 01:30:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492383002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492383002/40001
5 years ago (2015-12-07 19:31:53 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)
5 years ago (2015-12-07 21:32:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492383002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492383002/40001
5 years ago (2015-12-07 23:31:31 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-07 23:32:26 UTC) #13
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/386869247f28e72a00307a1b5c92465eea343ad2 Cr-Commit-Position: refs/heads/master@{#10923}
5 years ago (2015-12-07 23:32:39 UTC) #15
Taylor Brandstetter
5 years ago (2015-12-10 19:17:23 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.webrtc.org/1513143003/ by deadbeef@webrtc.org.

The reason for reverting is: Breaks WebrtcTransportTest.DataStream, due to
different rtc::Thread implementation on Chromium..

Powered by Google App Engine
This is Rietveld 408576698