ScriptSponsor and LSL_Api are now MarshalByRefObject

0.6.1-post-fixes
Tedd Hansen 2008-11-26 14:23:46 +00:00
parent e2b6ad4d5f
commit 1767100316
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
/// <summary>
/// Contains all LSL ll-functions. This class will be in Default AppDomain.
/// </summary>
public class LSL_Api : ILSL_Api, IScriptApi
public class LSL_Api : MarshalByRefObject, ILSL_Api, IScriptApi
{
protected IScriptEngine m_ScriptEngine;
protected SceneObjectPart m_host;

View File

@ -6,7 +6,7 @@ using System.Text;
namespace OpenSim.Region.ScriptEngine.Shared.Api.Runtime
{
[Serializable]
public class ScriptSponsor: ISponsor
public class ScriptSponsor : MarshalByRefObject, ISponsor
{
// In theory: I execute, therefore I am.
// If GC collects this class then sponsorship will expire