Fix bug 305662: fix leakage of nsWebShell and entrained data by breaking a ref cycle between the docShell and nsISecureBrowserUI in a place that works for both embedders and the suite. r=bryner, sr=bz

git-svn-id: svn://10.0.0.236/trunk@178751 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
smfr%smfr.org
2005-08-23 23:48:47 +00:00
parent d7497a616e
commit 981725806b
4 changed files with 8 additions and 3 deletions

View File

@@ -166,7 +166,7 @@ nsWebShell::nsWebShell() : nsDocShell()
++gNumberOfWebShells;
#endif
#ifdef DEBUG
printf("++WEBSHELL == %ld\n", gNumberOfWebShells);
printf("++WEBSHELL %p == %ld\n", this, gNumberOfWebShells);
#endif
mThread = nsnull;
@@ -195,7 +195,7 @@ nsWebShell::~nsWebShell()
--gNumberOfWebShells;
#endif
#ifdef DEBUG
printf("--WEBSHELL == %ld\n", gNumberOfWebShells);
printf("--WEBSHELL %p == %ld\n", this, gNumberOfWebShells);
#endif
}