diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 6 |
1 files changed, 4 insertions, 2 deletions
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 | |||
538 | "[CLIENT]: Close has been called with shutdownCircuit = {0} for {1} attached to scene {2}", | 538 | "[CLIENT]: Close has been called with shutdownCircuit = {0} for {1} attached to scene {2}", |
539 | shutdownCircuit, Name, m_scene.RegionInfo.RegionName); | 539 | shutdownCircuit, Name, m_scene.RegionInfo.RegionName); |
540 | 540 | ||
541 | m_imageManager.Close(); | 541 | if (m_imageManager != null) |
542 | m_imageManager.Close(); | ||
542 | 543 | ||
543 | m_PacketHandler.Flush(); | 544 | if (m_PacketHandler != null) |
545 | m_PacketHandler.Flush(); | ||
544 | 546 | ||
545 | // raise an event on the packet server to Shutdown the circuit | 547 | // raise an event on the packet server to Shutdown the circuit |
546 | // Now, if we raise the event then the packet server will call this method itself, so don't try cleanup | 548 | // Now, if we raise the event then the packet server will call this method itself, so don't try cleanup |