clear released minheap items so they don't keep holding references to

objects.
avinationmerge
UbitUmarov 2012-07-11 03:56:39 +01:00
parent b5b763f7e1
commit 7676ae6f74
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}