aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/MinHeap.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Framework/MinHeap.cs b/OpenSim/Framework/MinHeap.cs
index 33d0364..f2218c9 100644
--- a/OpenSim/Framework/MinHeap.cs
+++ b/OpenSim/Framework/MinHeap.cs
@@ -285,6 +285,7 @@ namespace OpenSim.Framework
285 if (--this.size > 0 && index != this.size) 285 if (--this.size > 0 && index != this.size)
286 { 286 {
287 Set(this.items[this.size], index); 287 Set(this.items[this.size], index);
288 this.items[this.size].Clear();
288 if (!BubbleUp(index)) 289 if (!BubbleUp(index))
289 BubbleDown(index); 290 BubbleDown(index);
290 } 291 }