aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Cache.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Framework/Cache.cs b/OpenSim/Framework/Cache.cs
index 4746d3c..bccda24 100644
--- a/OpenSim/Framework/Cache.cs
+++ b/OpenSim/Framework/Cache.cs
@@ -492,5 +492,15 @@ namespace Opensim.Framework
492 break; 492 break;
493 } 493 }
494 } 494 }
495
496 public void Invalidate(LLUUID uuid)
497 {
498 if(!m_Lookup.ContainsKey(uuid))
499 return;
500
501 CacheItemBase item = m_Lookup[uuid];
502 m_Lookup.Remove(uuid);
503 m_Index.Remove(item);
504 }
495 } 505 }
496} 506}