drop doc reference on CSS loader
git-svn-id: svn://10.0.0.236/trunk@32806 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -171,7 +171,10 @@ nsHTMLDocument::~nsHTMLDocument()
|
||||
NS_RELEASE(map);
|
||||
}
|
||||
NS_IF_RELEASE(mForms);
|
||||
NS_IF_RELEASE(mCSSLoader);
|
||||
if (mCSSLoader) {
|
||||
mCSSLoader->DropDocumentReference(); // release weak ref
|
||||
NS_RELEASE(mCSSLoader);
|
||||
}
|
||||
|
||||
// XXX don't bother doing this until the dll is unloaded???
|
||||
// nsHTMLAtoms::ReleaseAtoms();
|
||||
|
||||
Reference in New Issue
Block a user