diff options
author | Dr Scofield | 2009-04-29 12:31:43 +0000 |
---|---|---|
committer | Dr Scofield | 2009-04-29 12:31:43 +0000 |
commit | 84701701efa5a5edfe8268516d0ef16092f35f3b (patch) | |
tree | 3cbef37cf601d20cf727eae764418f5b87e7bd9e /OpenSim/Region | |
parent | From: Alan Webb <alan_webb@us.ibm.com> (diff) | |
download | opensim-SC_OLD-84701701efa5a5edfe8268516d0ef16092f35f3b.zip opensim-SC_OLD-84701701efa5a5edfe8268516d0ef16092f35f3b.tar.gz opensim-SC_OLD-84701701efa5a5edfe8268516d0ef16092f35f3b.tar.bz2 opensim-SC_OLD-84701701efa5a5edfe8268516d0ef16092f35f3b.tar.xz |
fixes exception thrown when client session is shutdown while
packethandler still active
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs b/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs index 75f4e1d..1aa0c75 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs | |||
@@ -199,6 +199,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
199 | 199 | ||
200 | public void ProcessImageQueue(int count) | 200 | public void ProcessImageQueue(int count) |
201 | { | 201 | { |
202 | // this can happen during Close() | ||
203 | if (m_client == null) return; | ||
202 | 204 | ||
203 | //Count is the number of textures we want to process in one go. | 205 | //Count is the number of textures we want to process in one go. |
204 | //As part of this class re-write, that number will probably rise | 206 | //As part of this class re-write, that number will probably rise |