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 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)