Eliminate race condition where SimStatsReporter starts reporting
stats before the region is completely initialized.0.7.5-pf-bulletsim
parent
00d125dada
commit
cfbb4f52e4
|
@ -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