mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Eliminate race condition where SimStatsReporter starts reporting
stats before the region is completely initialized.
This commit is contained in:
@@ -289,6 +289,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
private void statsHeartBeat(object sender, EventArgs e)
|
||||
{
|
||||
if (!m_scene.Active)
|
||||
return;
|
||||
|
||||
SimStatsPacket.StatBlock[] sb = new SimStatsPacket.StatBlock[22];
|
||||
SimStatsPacket.RegionBlock rb = new SimStatsPacket.RegionBlock();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user