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:
@@ -1267,6 +1267,7 @@ nsWebShell::Destroy()
|
||||
|
||||
// Stop any URLs that are currently being loaded...
|
||||
Stop();
|
||||
mDocLoader->Destroy();
|
||||
|
||||
SetContainer(nsnull);
|
||||
SetObserver(nsnull);
|
||||
|
||||
Reference in New Issue
Block a user