diff options
author | Tedd Hansen | 2008-11-26 14:23:46 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-11-26 14:23:46 +0000 |
commit | 17671003166ac3c3c58afda5e1b126d748c25511 (patch) | |
tree | 3996cdd0dd73f21599a6b443f718d291e4f732ca /OpenSim | |
parent | Made ScriptSponsor serializable (diff) | |
download | opensim-SC-17671003166ac3c3c58afda5e1b126d748c25511.zip opensim-SC-17671003166ac3c3c58afda5e1b126d748c25511.tar.gz opensim-SC-17671003166ac3c3c58afda5e1b126d748c25511.tar.bz2 opensim-SC-17671003166ac3c3c58afda5e1b126d748c25511.tar.xz |
ScriptSponsor and LSL_Api are now MarshalByRefObject
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs | 2 |
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; | |||
6 | namespace OpenSim.Region.ScriptEngine.Shared.Api.Runtime | 6 | namespace 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 |