aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Another stab at cmickeyb's patch for script GC.Melanie2009-08-071-4/+8
| | | | | Moved the Close() for the appdomain-hosted parts into a new destructor on ScriptInstance.
* Revert the XEngine memleak patch, it causes premature GC.Melanie2009-08-071-8/+4
| | | | | This matches behavior seen with an earlier attempt to do this, apparently the sponsor mechanism does't work in Mono
* |From: James J Greensky <jame.j.greensky@intel.com>Melanie2009-08-061-4/+8
| | | | | | | | | | | | | | | | | | | |Date: Wed, 5 Aug 2009 09:51:52 -0700 |Subject: [PATCH] Closed two major memory leaks for scripted objects | |Two major memory leaks for the scripted objects were fixed |- One leak had to do with remoting acrossing app domains. When a script and | its controlling agent communicate across an application boundary, it calls | functions on a stub proxy object that then invokes the remote method on | the object in the other app domain. These stub objects (two for each script) | were setup to have infinate lifetimes and were never being garbage collected. |- The second leak was the result of adding a scene object part instance method | to a scene event and never removing it. This cause the event's delegate list | to maintain a link to that object which is then never freed as the scene event | object is never destroyed. Patch applied, please direct feedback to me. Possible issue: Longtime idle scripts like vendors may fail.
* Update svn properties. Add copyright header. Minor formatting cleanup.Jeff Ames2008-11-301-26/+53
|
* Test commit.. just contains div trace and other stuff.Tedd Hansen2008-11-271-0/+8
|
* ScriptSponsor and LSL_Api are now MarshalByRefObjectTedd Hansen2008-11-261-1/+1
|
* Made ScriptSponsor serializableTedd Hansen2008-11-261-0/+1
|
* Attempt to give script objects a proper lease time (DNE and xengine). Relies ↵Tedd Hansen2008-11-261-0/+17
on GC. Also removed lease for LSL_Api as it strictly speaking should not be MarshalByRef. Or should it? If so I broke scripting! :)