aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index cbd99bb..77dcc6f 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -65,7 +65,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
65 /// <summary> 65 /// <summary>
66 /// Contains all LSL ll-functions. This class will be in Default AppDomain. 66 /// Contains all LSL ll-functions. This class will be in Default AppDomain.
67 /// </summary> 67 /// </summary>
68 public class LSL_Api : ILSL_Api, IScriptApi 68 public class LSL_Api : MarshalByRefObject, ILSL_Api, IScriptApi
69 { 69 {
70 protected IScriptEngine m_ScriptEngine; 70 protected IScriptEngine m_ScriptEngine;
71 protected SceneObjectPart m_host; 71 protected SceneObjectPart m_host;
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs
index 1f8b85a..5b28608 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs
@@ -6,7 +6,7 @@ using System.Text;
6namespace OpenSim.Region.ScriptEngine.Shared.Api.Runtime 6namespace OpenSim.Region.ScriptEngine.Shared.Api.Runtime
7{ 7{
8 [Serializable] 8 [Serializable]
9 public class ScriptSponsor: ISponsor 9 public class ScriptSponsor : MarshalByRefObject, ISponsor
10 { 10 {
11 // In theory: I execute, therefore I am. 11 // In theory: I execute, therefore I am.
12 // If GC collects this class then sponsorship will expire 12 // If GC collects this class then sponsorship will expire