aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-06-08 04:32:51 +0100
committerJustin Clark-Casey (justincc)2012-06-08 04:32:51 +0100
commit794d184c253d1967535e4040682a70b729dc3ccb (patch)
treec0fa4ea2bd27a1b718466bb2007f3b0d2cf99560 /OpenSim/Region/ClientStack
parentInstead of retrieving the known client again in LLUDPServer.RemoveClient(), c... (diff)
downloadopensim-SC-794d184c253d1967535e4040682a70b729dc3ccb.zip
opensim-SC-794d184c253d1967535e4040682a70b729dc3ccb.tar.gz
opensim-SC-794d184c253d1967535e4040682a70b729dc3ccb.tar.bz2
opensim-SC-794d184c253d1967535e4040682a70b729dc3ccb.tar.xz
Stop sending a DisableSimulator packet in LLClientView.Close(), which is a duplicate for child agents and unnecessary for root agents.
Close() already calls Scene.RemoveClient() which sends the right eq or udp DisableSimulator message to child agents.
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 4d6081c..74b9c6d 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -494,10 +494,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
494 "[CLIENT]: Close has been called for {0} attached to scene {1}", 494 "[CLIENT]: Close has been called for {0} attached to scene {1}",
495 Name, m_scene.RegionInfo.RegionName); 495 Name, m_scene.RegionInfo.RegionName);
496 496
497 // Send the STOP packet
498 DisableSimulatorPacket disable = (DisableSimulatorPacket)PacketPool.Instance.GetPacket(PacketType.DisableSimulator);
499 OutPacket(disable, ThrottleOutPacketType.Unknown);
500
501 IsActive = false; 497 IsActive = false;
502 498
503 // Shutdown the image manager 499 // Shutdown the image manager