Skip to content

Commit

Permalink
Merge mozilla-central to autoland on a CLOSED TREE
Browse files Browse the repository at this point in the history
aiakab committed Apr 3, 2020
2 parents cb4f80d + c05a4f8 commit e4ecd94
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dom/cache/StreamList.cpp
Original file line number Diff line number Diff line change
@@ -133,7 +133,15 @@ void StreamList::Close(const nsID& aId) {
void StreamList::CloseAll() {
NS_ASSERT_OWNINGTHREAD(StreamList);
if (mStreamControl) {
mStreamControl->CloseAll();
auto streamControl = mStreamControl;
mStreamControl = nullptr;

streamControl->CloseAll();

mStreamControl = streamControl;
streamControl = nullptr;

mStreamControl->Shutdown();
}
}

0 comments on commit e4ecd94

Please sign in to comment.