From 297cc7ef4f44dc783ebee817f48c205b04aa68f7 Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 13 Nov 2007 12:23:05 +0000 Subject: Some work on cleanly removing Regions. --- OpenSim/Region/ClientStack/ClientView.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 4b3a6c1..839556d 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs @@ -158,6 +158,16 @@ namespace OpenSim.Region.ClientStack ClientThread.Abort(); } + public void Stop() + { + clientPingTimer.Stop(); + + libsecondlife.Packets.DisableSimulatorPacket disable = new libsecondlife.Packets.DisableSimulatorPacket(); + OutPacket(disable); + + ClientThread.Abort(); + } + #endregion # region Packet Handling -- cgit v1.1