mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00
Disable destroying webshell until later
This commit is contained in:
parent
0227e28077
commit
8b36af8ca0
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user