提交 4128cf7b authored 作者: Michael Jerris's avatar Michael Jerris

the garbage collector race/deadlock issue was fixed by the previous commit to…

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
上级 56e85a94
...@@ -2411,8 +2411,6 @@ static void js_parse_and_execute(switch_core_session_t *session, char *input_cod ...@@ -2411,8 +2411,6 @@ static void js_parse_and_execute(switch_core_session_t *session, char *input_cod
if (cx) { if (cx) {
eval_some_js(script, cx, javascript_global_object, &rval); eval_some_js(script, cx, javascript_global_object, &rval);
JS_EndRequest(cx);
JS_MaybeGC(cx);
JS_DestroyContext(cx); JS_DestroyContext(cx);
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论