From b6e7e5ed424c4c26c3f86f8decbd2b15a5ab90e1 Mon Sep 17 00:00:00 2001 From: diva Date: Wed, 11 Feb 2009 21:07:41 +0000 Subject: Enforce estate bans on Teleports. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 45915db..98d75ad 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -538,9 +538,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP "[CLIENT]: Close has been called with shutdownCircuit = {0} for {1} attached to scene {2}", shutdownCircuit, Name, m_scene.RegionInfo.RegionName); - m_imageManager.Close(); + if (m_imageManager != null) + m_imageManager.Close(); - m_PacketHandler.Flush(); + if (m_PacketHandler != null) + m_PacketHandler.Flush(); // raise an event on the packet server to Shutdown the circuit // Now, if we raise the event then the packet server will call this method itself, so don't try cleanup -- cgit v1.1