зеркало из https://github.com/mozilla/gecko-dev.git
Protecting shutdown with mInitialized. regxpcom will cause shutdown to
happen without mInitialized and without this incorrect shutdown to happen. r=vidur r=rjc
This commit is contained in:
Родитель
8ed6b9dab4
Коммит
0d7c00e429
|
@ -246,6 +246,10 @@ nsLayoutModule::Initialize()
|
|||
void
|
||||
nsLayoutModule::Shutdown()
|
||||
{
|
||||
if (!mInitialized) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Release all of our atoms
|
||||
nsColorNames::ReleaseTable();
|
||||
nsCSSProps::ReleaseTable();
|
||||
|
|
Загрузка…
Ссылка в новой задаче