diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Monitoring/StatsManager.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Framework/Monitoring/StatsManager.cs b/OpenSim/Framework/Monitoring/StatsManager.cs index c0be87b..6277d44 100644 --- a/OpenSim/Framework/Monitoring/StatsManager.cs +++ b/OpenSim/Framework/Monitoring/StatsManager.cs | |||
@@ -363,9 +363,6 @@ namespace OpenSim.Framework.Monitoring | |||
363 | if (TryGetStatParents(stat, out category, out container)) | 363 | if (TryGetStatParents(stat, out category, out container)) |
364 | return false; | 364 | return false; |
365 | 365 | ||
366 | // We take a copy-on-write approach here of replacing dictionaries when keys are added or removed. | ||
367 | // This means that we don't need to lock or copy them on iteration, which will be a much more | ||
368 | // common operation after startup. | ||
369 | if (container == null) | 366 | if (container == null) |
370 | container = new SortedDictionary<string, Stat>(); | 367 | container = new SortedDictionary<string, Stat>(); |
371 | 368 | ||