aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-03-06 22:31:25 +0000
committerJustin Clark-Casey (justincc)2012-03-06 22:31:25 +0000
commite9d8eb5a270645ece83c864dbd3c84bf226a57f7 (patch)
treef52dc67687d5072abfdfc1b5e236da0a8bd83550 /OpenSim/Region/Framework/Scenes
parentExplictly close down the StatsReporter so that we can shutdown its timer (diff)
downloadopensim-SC-e9d8eb5a270645ece83c864dbd3c84bf226a57f7.zip
opensim-SC-e9d8eb5a270645ece83c864dbd3c84bf226a57f7.tar.gz
opensim-SC-e9d8eb5a270645ece83c864dbd3c84bf226a57f7.tar.bz2
opensim-SC-e9d8eb5a270645ece83c864dbd3c84bf226a57f7.tar.xz
Remove unnecessary explicit ElapsedEventHandler in SimReporter
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SimStatsReporter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
index 210f48d..5c56264 100644
--- a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
+++ b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs
@@ -178,7 +178,7 @@ namespace OpenSim.Region.Framework.Scenes
178 m_objectCapacity = scene.RegionInfo.ObjectCapacity; 178 m_objectCapacity = scene.RegionInfo.ObjectCapacity;
179 m_report.AutoReset = true; 179 m_report.AutoReset = true;
180 m_report.Interval = statsUpdatesEveryMS; 180 m_report.Interval = statsUpdatesEveryMS;
181 m_report.Elapsed += new ElapsedEventHandler(statsHeartBeat); 181 m_report.Elapsed += statsHeartBeat;
182 m_report.Enabled = true; 182 m_report.Enabled = true;
183 183
184 if (StatsManager.SimExtraStats != null) 184 if (StatsManager.SimExtraStats != null)