aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
diff options
context:
space:
mode:
authorTom Grimshaw2010-05-17 14:14:19 -0700
committerTom Grimshaw2010-05-17 14:32:21 -0700
commit6bc7e3429f9ac6cb57fbaa695223c3d76c189f77 (patch)
tree78d5187d6544f6d5c637978c58b43063ddde9581 /OpenSim/Client/MXP/ClientStack/MXPClientView.cs
parentMerge branch 'master' of ssh://3dhosting.de/var/git/careminster (diff)
downloadopensim-SC_OLD-6bc7e3429f9ac6cb57fbaa695223c3d76c189f77.zip
opensim-SC_OLD-6bc7e3429f9ac6cb57fbaa695223c3d76c189f77.tar.gz
opensim-SC_OLD-6bc7e3429f9ac6cb57fbaa695223c3d76c189f77.tar.bz2
opensim-SC_OLD-6bc7e3429f9ac6cb57fbaa695223c3d76c189f77.tar.xz
Provide interface to prevent the client close function from sending the stop packet
Diffstat (limited to '')
-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 33017d6..658ddf0 100644
--- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
+++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
@@ -827,10 +827,18 @@ namespace OpenSim.Client.MXP.ClientStack
827 827
828 public void Close() 828 public void Close()
829 { 829 {
830 Close(true);
831 }
832
833 public void Close(bool sendStop)
834 {
830 m_log.Info("[MXP ClientStack] Close Called"); 835 m_log.Info("[MXP ClientStack] Close Called");
831 836
832 // Tell the client to go 837 // Tell the client to go
833 SendLogoutPacket(); 838 if (sendStop == true)
839 {
840 SendLogoutPacket();
841 }
834 842
835 // Let MXPPacketServer clean it up 843 // Let MXPPacketServer clean it up
836 if (Session.SessionState != SessionState.Disconnected) 844 if (Session.SessionState != SessionState.Disconnected)