Protecting shutdown with mInitialized. regxpcom will cause shutdown to

happen without mInitialized and without this incorrect shutdown to
happen. r=vidur r=rjc


git-svn-id: svn://10.0.0.236/trunk@61110 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dp%netscape.com
2000-02-16 07:42:00 +00:00
parent da471158d3
commit 951d71ea06

View File

@@ -246,6 +246,10 @@ nsLayoutModule::Initialize()
void
nsLayoutModule::Shutdown()
{
if (!mInitialized) {
return;
}
// Release all of our atoms
nsColorNames::ReleaseTable();
nsCSSProps::ReleaseTable();