minor: Stop falsely logging that a teleport was being aborted on client logout even when no teleport was active.
parent
f603cbec02
commit
761fe07f1e
|
@ -276,10 +276,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
|
|||
|
||||
private void OnConnectionClosed(IClientAPI client)
|
||||
{
|
||||
if (client.IsLoggingOut)
|
||||
if (client.IsLoggingOut && m_entityTransferStateMachine.UpdateInTransit(client.AgentId, AgentTransferState.Aborting))
|
||||
{
|
||||
m_entityTransferStateMachine.UpdateInTransit(client.AgentId, AgentTransferState.Aborting);
|
||||
|
||||
m_log.DebugFormat(
|
||||
"[ENTITY TRANSFER MODULE]: Aborted teleport request from {0} in {1} due to simultaneous logout",
|
||||
client.Name, Scene.Name);
|
||||
|
|
Loading…
Reference in New Issue