From 4af80cca9131a345b935d6ae76e14f8bebabf6fe Mon Sep 17 00:00:00 2001 From: Luke Inman-Semerau Date: Mon, 2 Mar 2015 11:32:07 -0800 Subject: [PATCH] don't force garbage collection in httpd.js for firefox when connections are closed --- javascript/firefox-driver/extension/components/httpd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/firefox-driver/extension/components/httpd.js b/javascript/firefox-driver/extension/components/httpd.js index 7de6edb1bb972..c8abee2db0167 100644 --- a/javascript/firefox-driver/extension/components/httpd.js +++ b/javascript/firefox-driver/extension/components/httpd.js @@ -836,7 +836,7 @@ nsHttpServer.prototype = // Bug 508125: Add a GC here else we'll use gigabytes of memory running // mochitests. We can't rely on xpcshell doing an automated GC, as that // would interfere with testing GC stuff... - Components.utils.forceGC(); + gc() }, /**