Need to call EndObservingDocument before destroy of PresShell

Bug 152536 r=dcone sr=jst
This commit is contained in:
rods%netscape.com 2002-06-19 22:18:43 +00:00
parent 1cf2762705
commit 944a302a29
2 changed files with 2 additions and 0 deletions

View File

@ -1044,6 +1044,7 @@ PrintObject::~PrintObject()
}
if (mPresShell && !mSharedPresShell) {
mPresShell->EndObservingDocument();
mPresShell->Destroy();
}

View File

@ -1044,6 +1044,7 @@ PrintObject::~PrintObject()
}
if (mPresShell && !mSharedPresShell) {
mPresShell->EndObservingDocument();
mPresShell->Destroy();
}