From 4f316be2538f4288e0873c5058292e37f9eea746 Mon Sep 17 00:00:00 2001 From: Andreas Gal Date: Fri, 23 Jul 2010 15:21:13 -0700 Subject: [PATCH] Trigger all operation callbacks from triggerGC (follow-up for 580803). --- js/src/jscntxt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jscntxt.h b/js/src/jscntxt.h index 5a7b706bbccc..edaa1252d8d6 100644 --- a/js/src/jscntxt.h +++ b/js/src/jscntxt.h @@ -1975,7 +1975,7 @@ struct JSContext inline void triggerGC() { if (!runtime->gcIsNeeded) { runtime->gcIsNeeded = true; - JS_TriggerOperationCallback(this); + JS_TriggerAllOperationCallbacks(runtime); } }