Now trying to find a cause of freeze at login related to friends status notifications.

cpu-performance
Diva Canto 2013-07-04 10:59:21 -07:00
parent 98a2fa8e35
commit ae42c93f9a
1 changed files with 5 additions and 2 deletions

View File

@ -526,8 +526,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
if (friendSession.RegionID != UUID.Zero)
{
GridRegion region = GridService.GetRegionByUUID(m_Scenes[0].RegionInfo.ScopeID, friendSession.RegionID);
//m_log.DebugFormat("[FRIENDS]: Remote Notify to region {0}", region.RegionName);
m_FriendsSimConnector.StatusNotify(region, userID, friendSession.UserID, online);
if (region != null)
{
m_log.DebugFormat("[FRIENDS]: Remote Notify to region {0}", region.RegionName);
m_FriendsSimConnector.StatusNotify(region, userID, friendSession.UserID, online);
}
}
}
}