diff options
author | Tom Grimshaw | 2010-05-17 14:14:19 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-05-17 14:14:19 -0700 |
commit | 8f838c722da978da646fcef59a5af767840832bb (patch) | |
tree | 83b22c669659e26a16ca14a8ad6b6c292b805af1 /OpenSim/Client/MXP/ClientStack/MXPClientView.cs | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 10 |
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) |