aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Client/MXP/ClientStack/MXPClientView.cs')
-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)