Backed out changeset b7170a7eaacb (bug 1626728) for causing assertion failures a=backout
authorNoemi Erli <nerli@mozilla.com>
Fri, 03 Apr 2020 08:27:20 +0300
changeset 521980 ecaceb8b82959de97b832ac4548f8dcd49796ef7
parent 521977 b7170a7eaacb354090144be20ab92672e91a8a79
child 521981 d760fa6a7936e342b59220987466e4b32d8c185a
child 521997 6639deb894172375b05d6791f5f8c7d53ca79723
push id111949
push usernerli@mozilla.com
push dateFri, 03 Apr 2020 05:34:39 +0000
treeherderautoland@d760fa6a7936 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1626728
milestone76.0a1
backs outb7170a7eaacb354090144be20ab92672e91a8a79
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
Backed out changeset b7170a7eaacb (bug 1626728) for causing assertion failures a=backout
dom/cache/StreamList.cpp
--- a/dom/cache/StreamList.cpp
+++ b/dom/cache/StreamList.cpp
@@ -128,20 +128,17 @@ void StreamList::Close(const nsID& aId) 
   if (mStreamControl) {
     mStreamControl->Close(aId);
   }
 }
 
 void StreamList::CloseAll() {
   NS_ASSERT_OWNINGTHREAD(StreamList);
   if (mStreamControl) {
-    auto streamControl = mStreamControl;
-    mStreamControl = nullptr;
-    streamControl->CloseAll();
-    streamControl->Shutdown();
+    mStreamControl->CloseAll();
   }
 }
 
 void StreamList::Cancel() {
   NS_ASSERT_OWNINGTHREAD(StreamList);
   CloseAll();
 }