mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +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();
|
||||
}
|
||||
|
||||
if (mPrintEngine) {
|
||||
mPrintEngine->Destroy();
|
||||
mPrintEngine = nullptr;
|
||||
}
|
||||
|
||||
MOZ_RELEASE_ASSERT(mDestroyRefCount == 0);
|
||||
NS_ASSERTION(!mPresShell && !mPresContext,
|
||||
"User did not call nsIContentViewer::Destroy");
|
||||
if (mPresShell || mPresContext) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue