зеркало из https://github.com/mozilla/pjs.git
disabled another printf; use web-shell destroy to properly whack the sub-webshell
This commit is contained in:
Родитель
3d30d70cc7
Коммит
2a2db87959
|
@ -405,10 +405,9 @@ nsHTMLFrameInnerFrame::nsHTMLFrameInnerFrame(nsIContent* aContent,
|
|||
|
||||
nsHTMLFrameInnerFrame::~nsHTMLFrameInnerFrame()
|
||||
{
|
||||
printf("nsHTMLFrameInnerFrame destructor %X \n", this);
|
||||
//printf("nsHTMLFrameInnerFrame destructor %X \n", this);
|
||||
if (nsnull != mWebShell) {
|
||||
// XXX: Is the needed (or wanted?)
|
||||
mWebShell->SetContainer(nsnull);
|
||||
mWebShell->Destroy();
|
||||
NS_RELEASE(mWebShell);
|
||||
}
|
||||
NS_RELEASE(mTempObserver);
|
||||
|
|
|
@ -405,10 +405,9 @@ nsHTMLFrameInnerFrame::nsHTMLFrameInnerFrame(nsIContent* aContent,
|
|||
|
||||
nsHTMLFrameInnerFrame::~nsHTMLFrameInnerFrame()
|
||||
{
|
||||
printf("nsHTMLFrameInnerFrame destructor %X \n", this);
|
||||
//printf("nsHTMLFrameInnerFrame destructor %X \n", this);
|
||||
if (nsnull != mWebShell) {
|
||||
// XXX: Is the needed (or wanted?)
|
||||
mWebShell->SetContainer(nsnull);
|
||||
mWebShell->Destroy();
|
||||
NS_RELEASE(mWebShell);
|
||||
}
|
||||
NS_RELEASE(mTempObserver);
|
||||
|
|
Загрузка…
Ссылка в новой задаче