[Freeswitch-svn] [commit] r4094 - freeswitch/trunk/src/mod/languages/mod_spidermonkey
Freeswitch SVN
mikej at freeswitch.org
Tue Jan 30 13:00:59 EST 2007
Author: mikej
Date: Tue Jan 30 13:00:58 2007
New Revision: 4094
Modified:
freeswitch/trunk/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c
Log:
Yet another attempt to get the garbage collector code right. Patch worked out with Bret McDanel
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 Jan 30 13:00:58 2007
@@ -2411,6 +2411,8 @@
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