Don't call GC or CC unexpectedly during shutdown (bug 635251, r/a=gal).

This commit is contained in:
Olli.Pettay@gmail.com 2011-02-20 00:20:14 -08:00
parent faec8b99c2
commit 7a55b17c88

View File

@ -3365,8 +3365,6 @@ nsJSContext::PokeGC()
if (!sGCTimer) {
NS_WARNING("Failed to create timer");
GarbageCollectNow();
return;
}
@ -3403,8 +3401,6 @@ nsJSContext::PokeCC()
if (!sCCTimer) {
NS_WARNING("Failed to create timer");
CycleCollectNow();
return;
}