ScriptSponsor and LSL_Api are now MarshalByRefObject
parent
e2b6ad4d5f
commit
1767100316
|
@ -65,7 +65,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains all LSL ll-functions. This class will be in Default AppDomain.
|
/// Contains all LSL ll-functions. This class will be in Default AppDomain.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class LSL_Api : ILSL_Api, IScriptApi
|
public class LSL_Api : MarshalByRefObject, ILSL_Api, IScriptApi
|
||||||
{
|
{
|
||||||
protected IScriptEngine m_ScriptEngine;
|
protected IScriptEngine m_ScriptEngine;
|
||||||
protected SceneObjectPart m_host;
|
protected SceneObjectPart m_host;
|
||||||
|
|
|
@ -6,7 +6,7 @@ using System.Text;
|
||||||
namespace OpenSim.Region.ScriptEngine.Shared.Api.Runtime
|
namespace OpenSim.Region.ScriptEngine.Shared.Api.Runtime
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class ScriptSponsor: ISponsor
|
public class ScriptSponsor : MarshalByRefObject, ISponsor
|
||||||
{
|
{
|
||||||
// In theory: I execute, therefore I am.
|
// In theory: I execute, therefore I am.
|
||||||
// If GC collects this class then sponsorship will expire
|
// If GC collects this class then sponsorship will expire
|
||||||
|
|
Loading…
Reference in New Issue