Disable destroying webshell until later

This commit is contained in:
kipp%netscape.com 1999-04-30 00:08:43 +00:00
parent 0227e28077
commit 8b36af8ca0
2 changed files with 4 additions and 2 deletions

View File

@ -432,7 +432,8 @@ nsHTMLFrameInnerFrame::~nsHTMLFrameInnerFrame()
{
//printf("nsHTMLFrameInnerFrame destructor %X \n", this);
if (nsnull != mWebShell) {
mWebShell->Destroy();
//XXX Let mWebShell's parent destroy it because now may not be a good time
// mWebShell->Destroy();
NS_RELEASE(mWebShell);
}
NS_RELEASE(mTempObserver);

View File

@ -432,7 +432,8 @@ nsHTMLFrameInnerFrame::~nsHTMLFrameInnerFrame()
{
//printf("nsHTMLFrameInnerFrame destructor %X \n", this);
if (nsnull != mWebShell) {
mWebShell->Destroy();
//XXX Let mWebShell's parent destroy it because now may not be a good time
// mWebShell->Destroy();
NS_RELEASE(mWebShell);
}
NS_RELEASE(mTempObserver);