Eliminate race condition where SimStatsReporter starts reporting
stats before the region is completely initialized.user_profiles
parent
df2a0fec5f
commit
23ebae1828
|
@ -289,6 +289,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
private void statsHeartBeat(object sender, EventArgs e)
|
private void statsHeartBeat(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if (!m_scene.Active)
|
||||||
|
return;
|
||||||
|
|
||||||
SimStatsPacket.StatBlock[] sb = new SimStatsPacket.StatBlock[22];
|
SimStatsPacket.StatBlock[] sb = new SimStatsPacket.StatBlock[22];
|
||||||
SimStatsPacket.RegionBlock rb = new SimStatsPacket.RegionBlock();
|
SimStatsPacket.RegionBlock rb = new SimStatsPacket.RegionBlock();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue