diff options
author | Johan Berntsson | 2008-01-03 00:59:12 +0000 |
---|---|---|
committer | Johan Berntsson | 2008-01-03 00:59:12 +0000 |
commit | 047aba2067b476b319e9b53924abea98ea8ba0d3 (patch) | |
tree | d7d62baa41e76bff29ab20a63f8ba541356bd533 /OpenSim/Region/Environment/Scenes/SimStatsReporter.cs | |
parent | Minor refactoring to expose PrimInventory from SceneObjectPart (diff) | |
download | opensim-SC_OLD-047aba2067b476b319e9b53924abea98ea8ba0d3.zip opensim-SC_OLD-047aba2067b476b319e9b53924abea98ea8ba0d3.tar.gz opensim-SC_OLD-047aba2067b476b319e9b53924abea98ea8ba0d3.tar.bz2 opensim-SC_OLD-047aba2067b476b319e9b53924abea98ea8ba0d3.tar.xz |
I have fixed the ZeroDecodeCommand bug, and restored my packet recycling code. Let me know by IRC if there are other problems
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SimStatsReporter.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SimStatsReporter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs index d955fe7..5033965 100644 --- a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs +++ b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs | |||
@@ -83,7 +83,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
83 | private void statsHeartBeat(object sender, EventArgs e) | 83 | private void statsHeartBeat(object sender, EventArgs e) |
84 | { | 84 | { |
85 | m_report.Enabled = false; | 85 | m_report.Enabled = false; |
86 | SimStatsPacket statpack = new SimStatsPacket(); | 86 | SimStatsPacket statpack = (SimStatsPacket) PacketPool.Instance.GetPacket(PacketType.SimStats); |
87 | // TODO: don't create new blocks if recycling an old packet | 87 | // TODO: don't create new blocks if recycling an old packet |
88 | 88 | ||
89 | SimStatsPacket.StatBlock[] sb = new SimStatsPacket.StatBlock[11]; | 89 | SimStatsPacket.StatBlock[] sb = new SimStatsPacket.StatBlock[11]; |