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); } }