mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
Revert the XEngine memleak patch, it causes premature GC.
This matches behavior seen with an earlier attempt to do this, apparently the sponsor mechanism does't work in Mono
This commit is contained in:
@@ -953,12 +953,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
// this lets us keep track of nasty script events like timer, etc.
|
||||
public void TriggerTimerEvent(uint objLocalID, double 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);
|
||||
//}
|
||||
handlerScriptTimerEvent = OnScriptTimerEvent;
|
||||
if (handlerScriptTimerEvent != null)
|
||||
{
|
||||
handlerScriptTimerEvent(objLocalID, Interval);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user