OpenSimMirror/OpenSim/Region/ScriptEngine/Interfaces
Justin Clark-Casey (justincc) b5bb559cc0 Register the UrlModule for script engine events OnScriptRemoved and OnObjectRemoved just once in the UrlModule itself, rather than repeatedly for every script.
Doing this in every script is unnecessary since the event trigger is parameterized by the item id.
All that would happen is 2000 scripts would trigger 1999 unnecessary calls, and a large number of initialized scripts may eventually trigger a StackOverflowException.
Registration moved to UrlModule so that the handler is registered for all script engine implementations.
This required moving the OnScriptRemoved and OnObjectRemoved events (only used by UrlModule in core) from IScriptEngine to IScriptModule to avoid circular references.
2012-01-14 00:23:11 +00:00
..
ICompiler.cs Optimizations 2009-10-29 05:39:18 -07:00
IScript.cs Another stab at cmickeyb's patch for script GC. 2009-08-07 20:43:23 +01:00
IScriptApi.cs Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. 2009-06-01 06:37:14 +00:00
IScriptEngine.cs Register the UrlModule for script engine events OnScriptRemoved and OnObjectRemoved just once in the UrlModule itself, rather than repeatedly for every script. 2012-01-14 00:23:11 +00:00
IScriptInstance.cs add current script status to "scripts show" command (running, suspended, etc.) 2011-10-19 20:24:07 +01:00