Bug 1574718 - followup: Also actually unlink it. r=heycam

MANUAL PUSH: Minor post-landing follow-up.
This commit is contained in:
Emilio Cobos Álvarez 2019-09-04 09:11:31 +02:00
parent 0a2fcf6771
commit 7c013bffa7

View File

@ -2473,6 +2473,7 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(Loader)
if (tmp->mSheets) {
tmp->mSheets->mCompleteSheets.Clear();
tmp->mSheets->mInlineSheets.Clear();
}
tmp->mObservers.Clear();
NS_IMPL_CYCLE_COLLECTION_UNLINK_END