diff options
author | Diva Canto | 2013-07-21 20:22:13 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-24 14:27:37 -0700 |
commit | aae29c0ee2467a7978df53dba6f8461d1f566c59 (patch) | |
tree | 9e53c07e1f619956da2c2470a90b43b559a47168 /OpenSim/Region/CoreModules/ServiceConnectorsOut | |
parent | EXPERIMENTAL: yet another variation of ES/EAC/TPFinish (diff) | |
download | opensim-SC_OLD-aae29c0ee2467a7978df53dba6f8461d1f566c59.zip opensim-SC_OLD-aae29c0ee2467a7978df53dba6f8461d1f566c59.tar.gz opensim-SC_OLD-aae29c0ee2467a7978df53dba6f8461d1f566c59.tar.bz2 opensim-SC_OLD-aae29c0ee2467a7978df53dba6f8461d1f566c59.tar.xz |
Further tweaks on TPs: not sending the callback URL and instead waiting 15sec before closing the agent. This seems to be working fairly well. The viewer seems to have an 8 sec delay between UseCircuitCode and CompleteMovement.
Also added back the position on UpdateAgent, because it's needed for TPing between neighboring regions.
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/PresenceDetector.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/PresenceDetector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/PresenceDetector.cs index 172bea1..516ad40 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/PresenceDetector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/PresenceDetector.cs | |||
@@ -79,7 +79,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Presence | |||
79 | 79 | ||
80 | public void OnConnectionClose(IClientAPI client) | 80 | public void OnConnectionClose(IClientAPI client) |
81 | { | 81 | { |
82 | if (!client.SceneAgent.IsChildAgent) | 82 | if (client != null && client.SceneAgent != null && !client.SceneAgent.IsChildAgent) |
83 | { | 83 | { |
84 | // m_log.DebugFormat("[PRESENCE DETECTOR]: Detected client logout {0} in {1}", client.AgentId, client.Scene.RegionInfo.RegionName); | 84 | // m_log.DebugFormat("[PRESENCE DETECTOR]: Detected client logout {0} in {1}", client.AgentId, client.Scene.RegionInfo.RegionName); |
85 | m_PresenceService.LogoutAgent(client.SessionId); | 85 | m_PresenceService.LogoutAgent(client.SessionId); |