diff options
author | UbitUmarov | 2016-08-24 07:41:11 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-24 07:41:11 +0100 |
commit | 387d564aadc38c28af78d5b60a3bad57f1a8a2d5 (patch) | |
tree | d52a739f92077612d2ee7e416b76ef0e01b3d6fe /OpenSim/Framework/Monitoring/StatsManager.cs | |
parent | remove redundate console comand add, change stat deregister (diff) | |
download | opensim-SC-387d564aadc38c28af78d5b60a3bad57f1a8a2d5.zip opensim-SC-387d564aadc38c28af78d5b60a3bad57f1a8a2d5.tar.gz opensim-SC-387d564aadc38c28af78d5b60a3bad57f1a8a2d5.tar.bz2 opensim-SC-387d564aadc38c28af78d5b60a3bad57f1a8a2d5.tar.xz |
do similar changes to unused checksManager
Diffstat (limited to 'OpenSim/Framework/Monitoring/StatsManager.cs')
-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 | ||