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

Freeswitch SVN mikej at freeswitch.org
Wed Feb 7 23:24:43 EST 2007


Author: mikej
Date: Wed Feb  7 23:24:43 2007
New Revision: 4160

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

Log:
the garbage collector race/deadlock issue was fixed by the previous commit to the makefile to define JS_THREDSAFE for the spidermonkey modules.  This code is unnecessary.

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	Wed Feb  7 23:24:43 2007
@@ -2411,8 +2411,6 @@
 
 	if (cx) {
 		eval_some_js(script, cx, javascript_global_object, &rval);
-		JS_EndRequest(cx);
-		JS_MaybeGC(cx);
 		JS_DestroyContext(cx);
 	}
 }



More information about the Freeswitch-svn mailing list