From: Anthony Minessale Date: Tue, 17 Mar 2009 16:02:18 +0000 (+0000) Subject: comment out shutdown command that causes crash on unload X-Git-Tag: v1.0.4~1495 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a8512fe0e266e5ff5e1a0c366f7c4a8c26cd39b;p=thirdparty%2Ffreeswitch.git comment out shutdown command that causes crash on unload git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12642 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c index d131b85b2b..6c2de3d0e1 100644 --- a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c +++ b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c @@ -3746,7 +3746,8 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_spidermonkey_load) SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_spidermonkey_shutdown) { - JS_DestroyRuntime(globals.rt); + // this causes a crash + //JS_DestroyRuntime(globals.rt); curl_global_cleanup(); switch_event_unbind(&globals.node);