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:
@@ -246,6 +246,10 @@ nsLayoutModule::Initialize()
|
||||
void
|
||||
nsLayoutModule::Shutdown()
|
||||
{
|
||||
if (!mInitialized) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Release all of our atoms
|
||||
nsColorNames::ReleaseTable();
|
||||
nsCSSProps::ReleaseTable();
|
||||
|
||||
Reference in New Issue
Block a user