Fixed circular references. nsDocLoader now supports weak references to it. Init() method moves out of constructor. nsDocLoader now has Destroy() method to start breakdown process.

git-svn-id: svn://10.0.0.236/trunk@46655 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
vidur%netscape.com
1999-09-09 23:53:55 +00:00
parent 184630f1a6
commit 5a35be98ad
5 changed files with 62 additions and 22 deletions

View File

@@ -1267,6 +1267,7 @@ nsWebShell::Destroy()
// Stop any URLs that are currently being loaded...
Stop();
mDocLoader->Destroy();
SetContainer(nsnull);
SetObserver(nsnull);