mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 07:34:19 +00:00
Avoiding Initial SegFault *now with lycopene!*
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5373 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
ad7b07c3c9
commit
27561c6560
7 files changed
+16
-18
No files matched your search
@@ -122,7 +122,6 @@ struct sm_module_interface {
|
||||
typedef struct sm_module_interface sm_module_interface_t;
|
||||
typedef switch_status_t (*spidermonkey_init_t) (const sm_module_interface_t ** module_interface);
|
||||
|
||||
#define SANITY_CODE_VAL 424242
|
||||
struct js_session {
|
||||
switch_core_session_t *session;
|
||||
JSContext *cx;
|
||||
@@ -132,9 +131,13 @@ struct js_session {
|
||||
JSFunction *on_hangup;
|
||||
int stack_depth;
|
||||
switch_channel_state_t hook_state;
|
||||
int sanity_code;
|
||||
};
|
||||
|
||||
JSBool DEFAULT_SET_PROPERTY(JSContext * cx, JSObject *obj, jsval id, jsval *vp)
|
||||
{
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
SWITCH_END_EXTERN_C
|
||||
|
||||
Reference in new issue
Block a user