diff options
Diffstat (limited to 'OpenSim/Client/MXP/ClientStack')
-rw-r--r-- | OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index fa1f0d8..5798a64 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs | |||
@@ -819,6 +819,10 @@ namespace OpenSim.Client.MXP.ClientStack | |||
819 | //throw new System.NotImplementedException(); | 819 | //throw new System.NotImplementedException(); |
820 | } | 820 | } |
821 | 821 | ||
822 | public void ProcessPendingPackets() | ||
823 | { | ||
824 | } | ||
825 | |||
822 | public void ProcessInPacket(Packet NewPack) | 826 | public void ProcessInPacket(Packet NewPack) |
823 | { | 827 | { |
824 | //throw new System.NotImplementedException(); | 828 | //throw new System.NotImplementedException(); |
@@ -835,10 +839,18 @@ namespace OpenSim.Client.MXP.ClientStack | |||
835 | 839 | ||
836 | public void Close() | 840 | public void Close() |
837 | { | 841 | { |
842 | Close(true); | ||
843 | } | ||
844 | |||
845 | public void Close(bool sendStop) | ||
846 | { | ||
838 | m_log.Info("[MXP ClientStack] Close Called"); | 847 | m_log.Info("[MXP ClientStack] Close Called"); |
839 | 848 | ||
840 | // Tell the client to go | 849 | // Tell the client to go |
841 | SendLogoutPacket(); | 850 | if (sendStop == true) |
851 | { | ||
852 | SendLogoutPacket(); | ||
853 | } | ||
842 | 854 | ||
843 | // Let MXPPacketServer clean it up | 855 | // Let MXPPacketServer clean it up |
844 | if (Session.SessionState != SessionState.Disconnected) | 856 | if (Session.SessionState != SessionState.Disconnected) |