mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-19 17:54:13 +00:00
fix spidermonkey issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7007 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
04e33f191a
commit
ef563f04c4
2 files changed
+2
-2
No files matched your search
@@ -1120,13 +1120,12 @@ static switch_status_t js_common_callback(switch_core_session_t *session, void *
|
||||
|
||||
jss->stack_depth++;
|
||||
|
||||
|
||||
if (cb_state->jss_a && cb_state->jss_a->session && cb_state->jss_a->session == session) {
|
||||
argv[argc++] = OBJECT_TO_JSVAL(cb_state->session_obj_a);
|
||||
} else if (cb_state->jss_b && cb_state->jss_b->session && cb_state->jss_b->session == session) {
|
||||
argv[argc++] = OBJECT_TO_JSVAL(cb_state->session_obj_b);
|
||||
} else {
|
||||
argv[argc++] = OBJECT_TO_JSVAL(cb_state->session_state);
|
||||
argv[argc++] = OBJECT_TO_JSVAL(cb_state->session_state->obj);
|
||||
}
|
||||
|
||||
switch (itype) {
|
||||
|
||||
Reference in new issue
Block a user