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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user