mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Another stab at cmickeyb's patch for script GC.
Moved the Close() for the appdomain-hosted parts into a new destructor on ScriptInstance.
This commit is contained in:
@@ -953,11 +953,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
// this lets us keep track of nasty script events like timer, etc.
|
||||
public void TriggerTimerEvent(uint objLocalID, double Interval)
|
||||
{
|
||||
handlerScriptTimerEvent = OnScriptTimerEvent;
|
||||
if (handlerScriptTimerEvent != null)
|
||||
{
|
||||
handlerScriptTimerEvent(objLocalID, Interval);
|
||||
}
|
||||
throw new NotImplementedException("TriggerTimerEvent was thought to be not used anymore and the registration for the event from scene object part has been commented out due to a memory leak");
|
||||
//handlerScriptTimerEvent = OnScriptTimerEvent;
|
||||
//if (handlerScriptTimerEvent != null)
|
||||
//{
|
||||
// handlerScriptTimerEvent(objLocalID, Interval);
|
||||
//}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user