aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-17 20:24:49 +0000
committerTeravus Ovares2007-12-17 20:24:49 +0000
commitadf7afb6064a0510b2b9f466889161501603041e (patch)
treea6a8b1ec4d0de45432751a84f205bbb74e578f05 /OpenSim/Region
parentmake it so prims don't relay into IRC (diff)
downloadopensim-SC_OLD-adf7afb6064a0510b2b9f466889161501603041e.zip
opensim-SC_OLD-adf7afb6064a0510b2b9f466889161501603041e.tar.gz
opensim-SC_OLD-adf7afb6064a0510b2b9f466889161501603041e.tar.bz2
opensim-SC_OLD-adf7afb6064a0510b2b9f466889161501603041e.tar.xz
* Turned all instances of ForEach loops in ClientManager into Local Arrays.
* Added Locking while the Copy is taking place. * Added an error message to describe what's actually happening.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs4
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs1
2 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 41e44a5..5e0ab65 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -209,8 +209,8 @@ namespace OpenSim.Region.ClientStack
209 m_scene.RemoveClient(AgentId); 209 m_scene.RemoveClient(AgentId);
210 210
211 // Send the STOP packet 211 // Send the STOP packet
212 libsecondlife.Packets.DisableSimulatorPacket disable = new libsecondlife.Packets.DisableSimulatorPacket(); 212 //libsecondlife.Packets.DisableSimulatorPacket disable = new libsecondlife.Packets.DisableSimulatorPacket();
213 OutPacket(disable, ThrottleOutPacketType.Task); 213 //OutPacket(disable, ThrottleOutPacketType.Task);
214 214
215 // FLUSH Packets 215 // FLUSH Packets
216 m_packetQueue.Close(); 216 m_packetQueue.Close();
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index db2e4b8..1145b00 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -459,6 +459,7 @@ namespace OpenSim.Region.Environment.Scenes
459 // This is the method that shuts down the scene. 459 // This is the method that shuts down the scene.
460 public override void Close() 460 public override void Close()
461 { 461 {
462 MainLog.Instance.Warn("SCENE", "Closing down the single simulator: " + RegionInfo.RegionName);
462 // Kick all ROOT agents with the message, 'The simulator is going down' 463 // Kick all ROOT agents with the message, 'The simulator is going down'
463 ForEachScenePresence(delegate(ScenePresence avatar) 464 ForEachScenePresence(delegate(ScenePresence avatar)
464 { 465 {