Bug 1271429 - sdp_unittests needs to Shutdown() the pseudo-main thread before finishing r=bwc
authorRandell Jesup <rjesup@jesup.org>
Tue, 10 May 2016 00:21:43 -0400
changeset 296737 5f761481809f917b6790324648b60df8c90d88b2
parent 296736 9235ed9eac26e979bd410d65e1641dddd8fa3a9f
child 296738 620a79a39975182de5061444422fcfa082467a48
push id76460
push userrjesup@wgate.com
push dateTue, 10 May 2016 04:21:59 +0000
treeherdermozilla-inbound@5f761481809f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbwc
bugs1271429
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1271429 - sdp_unittests needs to Shutdown() the pseudo-main thread before finishing r=bwc MozReview-Commit-ID: Gw71pTxEzyA
media/webrtc/signaling/test/sdp_unittests.cpp
--- a/media/webrtc/signaling/test/sdp_unittests.cpp
+++ b/media/webrtc/signaling/test/sdp_unittests.cpp
@@ -82,16 +82,19 @@ class SdpTest : public ::testing::Test {
     }
 
     void SetUp() {
       final_level_ = 0;
       sdp_ptr_ = nullptr;
     }
 
     static void TearDownTestCase() {
+      if (gThread) {
+        gThread->Shutdown();
+      }
       gThread = nullptr;
     }
 
     void ResetSdp() {
       if (!sdp_ptr_) {
         sdp_free_description(sdp_ptr_);
       }