Bug 631553 - Avoid caching frame scripts during xpcom shutdown. r=smaug a=johnath

This commit is contained in:
Josh Matthews 2011-02-16 12:11:27 -05:00
Родитель f7d2478779
Коммит 42423b9b6a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -613,7 +613,7 @@ nsFrameScriptExecutor::Shutdown()
void
nsFrameScriptExecutor::LoadFrameScriptInternal(const nsAString& aURL)
{
if (!mGlobal || !mCx) {
if (!mGlobal || !mCx || !sCachedScripts) {
return;
}