mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-28 18:17:29 +09:00
Bug 1261175.
This commit is contained in:
parent
d0a1bf03fb
commit
2f312335f3
1 changed files with 6 additions and 0 deletions
|
|
@ -544,6 +544,12 @@ nsDocumentViewer::~nsDocumentViewer()
|
||||||
mDocument->Destroy();
|
mDocument->Destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mPrintEngine) {
|
||||||
|
mPrintEngine->Destroy();
|
||||||
|
mPrintEngine = nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
MOZ_RELEASE_ASSERT(mDestroyRefCount == 0);
|
||||||
NS_ASSERTION(!mPresShell && !mPresContext,
|
NS_ASSERTION(!mPresShell && !mPresContext,
|
||||||
"User did not call nsIContentViewer::Destroy");
|
"User did not call nsIContentViewer::Destroy");
|
||||||
if (mPresShell || mPresContext) {
|
if (mPresShell || mPresContext) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue