#596: chemspill M1626728 1620818

This commit is contained in:
Cameron Kaiser
2020-04-03 18:54:16 -07:00
parent 444a1c1fc2
commit 98aa66e3aa
2 changed files with 15 additions and 1 deletions
+6
View File
@@ -856,6 +856,12 @@ nsDocShell::~nsDocShell()
shPrivate->SetRootDocShell(nullptr);
}
if (mContentViewer) {
mContentViewer->Close(nullptr);
mContentViewer->Destroy();
mContentViewer = nullptr;
}
if (--gDocShellCount == 0) {
NS_IF_RELEASE(sURIFixup);
}