summaryrefslogtreecommitdiffstats
path: root/media/webrtc/signaling/test/mediaconduit_unittests.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-07-01 12:57:51 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-07-01 12:57:51 +0200
commitca3a3b63eed0de7d86291dab8479dcc3e4fc4b8f (patch)
tree3265beacca87ccdcf598c270456b06664b8d6eaa /media/webrtc/signaling/test/mediaconduit_unittests.cpp
parent8d29394b4bc27b3575141685647df1509d687441 (diff)
downloadUXP-ca3a3b63eed0de7d86291dab8479dcc3e4fc4b8f.tar
UXP-ca3a3b63eed0de7d86291dab8479dcc3e4fc4b8f.tar.gz
UXP-ca3a3b63eed0de7d86291dab8479dcc3e4fc4b8f.tar.lz
UXP-ca3a3b63eed0de7d86291dab8479dcc3e4fc4b8f.tar.xz
UXP-ca3a3b63eed0de7d86291dab8479dcc3e4fc4b8f.zip
WebRTC: Add DeleteStreams to media conduits.
Diffstat (limited to 'media/webrtc/signaling/test/mediaconduit_unittests.cpp')
-rw-r--r--media/webrtc/signaling/test/mediaconduit_unittests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/webrtc/signaling/test/mediaconduit_unittests.cpp b/media/webrtc/signaling/test/mediaconduit_unittests.cpp
index adcc838bf..07e3b3975 100644
--- a/media/webrtc/signaling/test/mediaconduit_unittests.cpp
+++ b/media/webrtc/signaling/test/mediaconduit_unittests.cpp
@@ -810,6 +810,8 @@ class TransportConduitTest : public ::testing::Test
err = videoSession->ConfigureSendMediaCodec(nullptr);
EXPECT_TRUE(err != mozilla::kMediaConduitNoError);
+
+ videoSession->DeleteStreams();
mozilla::SyncRunnable::DispatchToThread(gMainThread,
WrapRunnable(