提交 f99c3877 authored 作者: Michael Jerris's avatar Michael Jerris

limit callback recursion to a happy number for all. FSCORE-6

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5032 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 1d2d40a0
......@@ -623,7 +623,7 @@ JSObject *new_js_event(switch_event_t *event, char *name, JSContext * cx, JSObje
return Event;
}
#define MAX_STACK_DEPTH 12
#define MAX_STACK_DEPTH 2
static switch_status_t js_common_callback(switch_core_session_t *session, void *input, switch_input_type_t itype, void *buf, unsigned int buflen)
{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论