From 7b6471f642a9fdc9c7835f15495017e351aff48b Mon Sep 17 00:00:00 2001 From: diva Date: Wed, 17 Dec 2008 17:44:00 +0000 Subject: Kicking child agents off on the first login after a client crash. The child agents kickoff was missing from when this is run in grid mode. But, worse, turns out that this whole feature of kicking off the user after a crash was entirely missing from standalone mode. --- OpenSim/Region/Environment/Scenes/Scene.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 6831885..3aa2470 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -2946,6 +2946,7 @@ namespace OpenSim.Region.Environment.Scenes { if (RegionSecret == loggingOffUser.ControllingClient.SecureSessionId) { + m_sceneGridService.SendCloseChildAgentConnections(loggingOffUser.UUID, new List(loggingOffUser.KnownRegions.Keys)); loggingOffUser.ControllingClient.Kick(message); // Give them a second to receive the message! System.Threading.Thread.Sleep(1000); -- cgit v1.1