minor: Stop falsely logging that a teleport was being aborted on client logout even when no teleport was active.
parent
7bf1986e91
commit
94d44142e3
|
@ -280,10 +280,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