aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client/MXP
diff options
context:
space:
mode:
authorTom Grimshaw2010-05-17 14:14:19 -0700
committerTom Grimshaw2010-05-17 14:14:19 -0700
commit8f838c722da978da646fcef59a5af767840832bb (patch)
tree83b22c669659e26a16ca14a8ad6b6c292b805af1 /OpenSim/Client/MXP
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC-8f838c722da978da646fcef59a5af767840832bb.zip
opensim-SC-8f838c722da978da646fcef59a5af767840832bb.tar.gz
opensim-SC-8f838c722da978da646fcef59a5af767840832bb.tar.bz2
opensim-SC-8f838c722da978da646fcef59a5af767840832bb.tar.xz
When killing a zombie session, don't send the stop packet since it often has the effect of killing a newly connected client.
Diffstat (limited to 'OpenSim/Client/MXP')
-rw-r--r--OpenSim/Client/MXP/ClientStack/MXPClientView.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
index 1d6d4c1..12989f5 100644
--- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
+++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
@@ -835,10 +835,18 @@ namespace OpenSim.Client.MXP.ClientStack
835 835
836 public void Close() 836 public void Close()
837 { 837 {
838 Close(true);
839 }
840
841 public void Close(bool sendStop)
842 {
838 m_log.Info("[MXP ClientStack] Close Called"); 843 m_log.Info("[MXP ClientStack] Close Called");
839 844
840 // Tell the client to go 845 // Tell the client to go
841 SendLogoutPacket(); 846 if (sendStop == true)
847 {
848 SendLogoutPacket();
849 }
842 850
843 // Let MXPPacketServer clean it up 851 // Let MXPPacketServer clean it up
844 if (Session.SessionState != SessionState.Disconnected) 852 if (Session.SessionState != SessionState.Disconnected)