From 84701701efa5a5edfe8268516d0ef16092f35f3b Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Wed, 29 Apr 2009 12:31:43 +0000 Subject: [PATCH] fixes exception thrown when client session is shutdown while packethandler still active --- OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs b/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs index 75f4e1d5f4..1aa0c75082 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs @@ -199,6 +199,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP public void ProcessImageQueue(int count) { + // this can happen during Close() + if (m_client == null) return; //Count is the number of textures we want to process in one go. //As part of this class re-write, that number will probably rise