diff options
author | Melanie Thielker | 2008-11-29 07:10:00 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-29 07:10:00 +0000 |
commit | 1952a67ceb3f239d4f55656f1ca55de590556265 (patch) | |
tree | 8828b0688e1690d0534c356ff5590fbf4ecfffb4 /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |
parent | Stop attachments from twisting away. Thismakes attachments phantom, which (diff) | |
download | opensim-SC_OLD-1952a67ceb3f239d4f55656f1ca55de590556265.zip opensim-SC_OLD-1952a67ceb3f239d4f55656f1ca55de590556265.tar.gz opensim-SC_OLD-1952a67ceb3f239d4f55656f1ca55de590556265.tar.bz2 opensim-SC_OLD-1952a67ceb3f239d4f55656f1ca55de590556265.tar.xz |
Comment the ScriptSponsor and restore the indefinite lifetime for
scripts until that can be better debugged
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index b5cbd25..f9f6401 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -59,7 +59,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
59 | public Dictionary<string, IScriptApi> Apis; | 59 | public Dictionary<string, IScriptApi> Apis; |
60 | public Dictionary<KeyValuePair<int,int>, KeyValuePair<int,int>> | 60 | public Dictionary<KeyValuePair<int,int>, KeyValuePair<int,int>> |
61 | LineMap; | 61 | LineMap; |
62 | public ISponsor ScriptSponsor; | 62 | // public ISponsor ScriptSponsor; |
63 | } | 63 | } |
64 | 64 | ||
65 | public class ScriptManager | 65 | public class ScriptManager |
@@ -169,10 +169,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
169 | m_scriptEngine.m_AppDomainManager.LoadScript( | 169 | m_scriptEngine.m_AppDomainManager.LoadScript( |
170 | CompiledScriptFile, out id.AppDomain); | 170 | CompiledScriptFile, out id.AppDomain); |
171 | //Register the sponsor | 171 | //Register the sponsor |
172 | ISponsor scriptSponsor = new ScriptSponsor(); | 172 | // ISponsor scriptSponsor = new ScriptSponsor(); |
173 | ILease lease = (ILease)RemotingServices.GetLifetimeService(CompiledScript as MarshalByRefObject); | 173 | // ILease lease = (ILease)RemotingServices.GetLifetimeService(CompiledScript as MarshalByRefObject); |
174 | lease.Register(scriptSponsor); | 174 | // lease.Register(scriptSponsor); |
175 | id.ScriptSponsor = scriptSponsor; | 175 | // id.ScriptSponsor = scriptSponsor; |
176 | 176 | ||
177 | id.LineMap = LSLCompiler.LineMap(); | 177 | id.LineMap = LSLCompiler.LineMap(); |
178 | id.Script = CompiledScript; | 178 | id.Script = CompiledScript; |