diff --git a/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs b/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs index c4a732e451..85acfc3f00 100644 --- a/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs +++ b/OpenSim/Region/CoreModules/RegionSync/RegionSyncModule/SymmetricSync/RegionSyncModule.cs @@ -1126,6 +1126,7 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule foreach (SyncConnector connector in syncConnectors) { + lock (m_stats) m_statEventOut++; connector.Send(rsm); } } @@ -2778,7 +2779,6 @@ namespace OpenSim.Region.CoreModules.RegionSync.RegionSyncModule SymmetricSyncMessage rsm = new SymmetricSyncMessage(msgType, OSDParser.SerializeJsonString(data)); //send to actors who are interested in the event - lock (m_stats) m_statEventOut++; SendSceneEventToRelevantSyncConnectors(m_actorID, rsm, null); }