mirror of
https://github.com/opensim/opensim.git
synced 2026-07-04 01:40:07 +08:00
Comment the ScriptSponsor and restore the indefinite lifetime for
scripts until that can be better debugged
This commit is contained in:
@@ -210,9 +210,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||
"SecondLife.Script");
|
||||
|
||||
// Add a sponsor to the script
|
||||
ISponsor scriptSponsor = new ScriptSponsor();
|
||||
ILease lease = (ILease)RemotingServices.GetLifetimeService(m_Script as MarshalByRefObject);
|
||||
lease.Register(scriptSponsor);
|
||||
// ISponsor scriptSponsor = new ScriptSponsor();
|
||||
// ILease lease = (ILease)RemotingServices.GetLifetimeService(m_Script as MarshalByRefObject);
|
||||
// lease.Register(scriptSponsor);
|
||||
//m_ScriptSponsor = scriptSponsor;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user