clear released minheap items so they don't keep holding references to
objects.avinationmerge
parent
b5b763f7e1
commit
7676ae6f74
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue