Test commit.. just contains div trace and other stuff.
parent
f7beef3283
commit
1eeffcd89e
|
@ -205,13 +205,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
|||
//
|
||||
if ( !(tie.InnerException is EventAbortException) )
|
||||
{
|
||||
throw tie;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
protected void initEventFlags()
|
||||
|
|
|
@ -50,12 +50,22 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
|||
ILease lease = (ILease)base.InitializeLifetimeService();
|
||||
if (lease.CurrentState == LeaseState.Initial)
|
||||
{
|
||||
//lease.InitialLeaseTime = TimeSpan.Zero;
|
||||
lease.InitialLeaseTime = TimeSpan.FromMinutes(1);
|
||||
lease.SponsorshipTimeout = TimeSpan.FromMinutes(2);
|
||||
lease.RenewOnCallTime = TimeSpan.FromSeconds(2);
|
||||
}
|
||||
return lease;
|
||||
}
|
||||
#if DEBUG
|
||||
// For tracing GC while debugging
|
||||
public static bool GCDummy = false;
|
||||
~ScriptBaseClass()
|
||||
{
|
||||
GCDummy = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
public ScriptBaseClass()
|
||||
{
|
||||
|
|
|
@ -14,5 +14,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Runtime
|
|||
{
|
||||
return TimeSpan.FromMinutes(2);
|
||||
}
|
||||
#if DEBUG
|
||||
// For tracing GC while debugging
|
||||
public static bool GCDummy = false;
|
||||
~ScriptSponsor()
|
||||
{
|
||||
GCDummy = true;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue