Stopping network threads before tearing down test

Also initializing suspended_in_stats_ to false.

TBR=stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/9959005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5698 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrik.lundin@webrtc.org 2014-03-13 15:39:27 +00:00
parent 5a320fb06f
commit 54464e6f49

View File

@ -219,7 +219,7 @@ class LowRateStreamObserver : public test::DirectTransport,
number_of_streams_(number_of_streams),
rtx_used_(rtx_used),
send_stream_(NULL),
suspended_in_stats_(true) {
suspended_in_stats_(false) {
RtpRtcp::Configuration config;
config.receive_statistics = receive_stats_.get();
feedback_transport_.Enable();
@ -522,6 +522,8 @@ class RampUpTest : public ::testing::Test {
EXPECT_EQ(kEventSignaled, stream_observer.Wait());
stream_observer.StopSending();
receiver_transport.StopSending();
frame_generator_capturer->Stop();
send_stream->StopSending();