mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-14 15:24:13 +00:00
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
This commit is contained in:
1 parent
1d2d40a0ed
commit
f99c387755
1 file changed
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user