aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-29 07:10:00 +0000
committerMelanie Thielker2008-11-29 07:10:00 +0000
commit1952a67ceb3f239d4f55656f1ca55de590556265 (patch)
tree8828b0688e1690d0534c356ff5590fbf4ecfffb4 /OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
parentStop attachments from twisting away. Thismakes attachments phantom, which (diff)
downloadopensim-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/Shared/Instance/ScriptInstance.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
index e664fb0..dccd143 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
@@ -210,9 +210,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
210 "SecondLife.Script"); 210 "SecondLife.Script");
211 211
212 // Add a sponsor to the script 212 // Add a sponsor to the script
213 ISponsor scriptSponsor = new ScriptSponsor(); 213// ISponsor scriptSponsor = new ScriptSponsor();
214 ILease lease = (ILease)RemotingServices.GetLifetimeService(m_Script as MarshalByRefObject); 214// ILease lease = (ILease)RemotingServices.GetLifetimeService(m_Script as MarshalByRefObject);
215 lease.Register(scriptSponsor); 215// lease.Register(scriptSponsor);
216 //m_ScriptSponsor = scriptSponsor; 216 //m_ScriptSponsor = scriptSponsor;
217 217
218 } 218 }