[Freeswitch-svn] [commit] r12642 - freeswitch/trunk/src/mod/languages/mod_spidermonkey

FreeSWITCH SVN anthm at freeswitch.org
Tue Mar 17 09:02:19 PDT 2009


Author: anthm
Date: Tue Mar 17 11:02:18 2009
New Revision: 12642

Log:
comment out shutdown command that causes crash on unload

Modified:
   freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c	Tue Mar 17 11:02:18 2009
@@ -3746,7 +3746,8 @@
 
 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);



More information about the Freeswitch-svn mailing list