Rely on the Scene.IncomingCloseAgent() check as to whether the connection should be kept open after teleport-end rather than doing this in the ET Module

This is safer since the close check in IncomingCloseAgent() is done under lock conditions, which prevents a race between ETM and Scene.AddClient()
This commit is contained in:
Justin Clark-Casey (justincc)
2013-08-15 14:07:57 +01:00
parent 2231fcf5b4
commit 3f8d79024b
2 changed files with 7 additions and 15 deletions

View File

@@ -3725,7 +3725,7 @@ namespace OpenSim.Region.Framework.Scenes
sp.DoNotCloseAfterTeleport = true;
m_log.DebugFormat(
"[SCENE]: Set DoNotCloseAfterTeleport for child scene presence {0} in {1} because this region will attempt previous end-of-teleport close.",
"[SCENE]: Set DoNotCloseAfterTeleport for child scene presence {0} in {1} because this region will attempt end-of-teleport close from a previous close.",
sp.Name, Name);
}
}