From 4128cf7ba93cad206bfc3898797226c3736c23f3 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 8 Feb 2007 04:24:43 +0000 Subject: [PATCH] the garbage collector race/deadlock issue was fixed by the previous commit to the makefile to define JS_THREDSAFE for the spidermonkey modules. This code is unnecessary. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4160 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/languages/mod_spidermonkey/mod_spidermonkey.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c index 75eea522dd..6245297785 100644 --- a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c +++ b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c @@ -2411,8 +2411,6 @@ static void js_parse_and_execute(switch_core_session_t *session, char *input_cod if (cx) { eval_some_js(script, cx, javascript_global_object, &rval); - JS_EndRequest(cx); - JS_MaybeGC(cx); JS_DestroyContext(cx); } }