mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user