From: <br...@us...> - 2008-02-24 19:05:57
|
Revision: 3398 http://openvrml.svn.sourceforge.net/openvrml/?rev=3398&view=rev Author: braden Date: 2008-02-24 11:05:34 -0800 (Sun, 24 Feb 2008) Log Message: ----------- Call JS_MaybeGC to run the garbage collector every so often. Modified Paths: -------------- trunk/ChangeLog trunk/src/script/javascript.cpp Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-02-24 17:11:01 UTC (rev 3397) +++ trunk/ChangeLog 2008-02-24 19:05:34 UTC (rev 3398) @@ -1,5 +1,12 @@ 2007-02-24 Braden McDaniel <br...@en...> + * src/script/javascript.cpp + (script::activate(double, const std::string &, size_t, const + openvrml::field_value * const[])): Call JS_MaybeGC to run the + garbage collector every so often. + +2007-02-24 Braden McDaniel <br...@en...> + * examples/sdl_viewer.cpp (sdl_viewer::run()): Initialize the event_info struct. Modified: trunk/src/script/javascript.cpp =================================================================== --- trunk/src/script/javascript.cpp 2008-02-24 17:11:01 UTC (rev 3397) +++ trunk/src/script/javascript.cpp 2008-02-24 19:05:34 UTC (rev 3398) @@ -1277,6 +1277,7 @@ } catch (...) { assert(false); } + JS_MaybeGC(this->cx); } openvrml::script_node & script::script_node() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |