From 0d95e06a2fe04984ab8772b8b829261b27770aa1 Mon Sep 17 00:00:00 2001 From: "pwestin@webrtc.org" Date: Thu, 2 May 2013 18:25:03 +0000 Subject: [PATCH] Bugfix custom call stop. BUG=1717 R=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1388004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3938 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../test/auto_test/source/vie_autotest_custom_call.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webrtc/video_engine/test/auto_test/source/vie_autotest_custom_call.cc b/webrtc/video_engine/test/auto_test/source/vie_autotest_custom_call.cc index 2993be156e..5e0642ad80 100644 --- a/webrtc/video_engine/test/auto_test/source/vie_autotest_custom_call.cc +++ b/webrtc/video_engine/test/auto_test/source/vie_autotest_custom_call.cc @@ -829,7 +829,6 @@ int ViEAutoTest::ViECustomCall() { error = vie_base->DisconnectAudioChannel(video_channel); voice_channel_transport.reset(NULL); - video_channel_transport.reset(NULL); // If Encoder/Decoder Observer is running, delete them. if (codec_encoder_observer) { @@ -892,6 +891,8 @@ int ViEAutoTest::ViECustomCall() { "ERROR: %s at line %d", __FUNCTION__, __LINE__); + video_channel_transport.reset(NULL); + error = vie_base->DeleteChannel(video_channel); number_of_errors += ViETest::TestError(error == 0, "ERROR: %s at line %d",