diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index fe94cb1a3d..1b9237f10f 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs @@ -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);