From 8a80d1342c4251b76d21a59166b3d22c9d48f537 Mon Sep 17 00:00:00 2001 From: Olli Pettay Date: Sun, 20 Feb 2011 22:56:16 +0200 Subject: [PATCH] Bug 635251 - Don't call GC or CC unexpectedly during shutdown, r=gal, a=gal --- dom/base/nsJSEnvironment.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dom/base/nsJSEnvironment.cpp b/dom/base/nsJSEnvironment.cpp index 2f026e56c98..e89f9e39f41 100644 --- a/dom/base/nsJSEnvironment.cpp +++ b/dom/base/nsJSEnvironment.cpp @@ -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; }