Index: media/cast/test/end2end_unittest.cc |
diff --git a/media/cast/test/end2end_unittest.cc b/media/cast/test/end2end_unittest.cc |
index 88b6e347901b4b277e7a7065807c23d52a59e601..80f504ca5521ac0ae83ef5c92e9c0e365bf0ed6d 100644 |
--- a/media/cast/test/end2end_unittest.cc |
+++ b/media/cast/test/end2end_unittest.cc |
@@ -458,6 +458,12 @@ class End2EndTest : public ::testing::Test { |
virtual ~End2EndTest() {} |
+ virtual void TearDown() OVERRIDE { |
+ cast_sender_.reset(); |
+ cast_receiver_.reset(); |
+ task_runner_->RunTasks(); |
+ } |
+ |
void SendVideoFrame(int start_value, const base::TimeTicks& capture_time) { |
if (start_time_.is_null()) |
start_time_ = testing_clock_->NowTicks(); |