add a weak safeguard

LSLKeyTest
UbitUmarov 2016-08-04 18:21:16 +01:00
parent 5861355577
commit 4f17078b07
1 changed files with 9 additions and 1 deletions

View File

@ -2199,9 +2199,17 @@ namespace OpenSim.Region.Framework.Scenes
else else
friendsModule.SendFriendsOnlineIfNeeded(ControllingClient); friendsModule.SendFriendsOnlineIfNeeded(ControllingClient);
} }
m_log.DebugFormat("[CompleteMovement] friendsModule: {0}ms", Util.EnvironmentTickCountSubtract(ts)); m_log.DebugFormat("[CompleteMovement] friendsModule: {0}ms", Util.EnvironmentTickCountSubtract(ts));
} }
if(gotCrossUpdate)
{
// override group info with authorative data
IGroupsModule gm = m_scene.RequestModuleInterface<IGroupsModule>();
if (gm != null)
gm.SendAgentGroupDataUpdate(ControllingClient);
m_log.DebugFormat("[CompleteMovement] delayed groups: {0}ms", Util.EnvironmentTickCountSubtract(ts));
}
} }
finally finally
{ {