mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
clear released minheap items so they don't keep holding references to
objects.
This commit is contained in:
@@ -285,6 +285,7 @@ namespace OpenSim.Framework
|
||||
if (--this.size > 0 && index != this.size)
|
||||
{
|
||||
Set(this.items[this.size], index);
|
||||
this.items[this.size].Clear();
|
||||
if (!BubbleUp(index))
|
||||
BubbleDown(index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user