mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
Guarding a line that is sometimes throwing a null pointer exception.
This commit is contained in:
@@ -197,11 +197,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
m_currentPacket = StartPacket;
|
||||
}
|
||||
|
||||
if (m_imageManager.Client.PacketHandler.GetQueueCount(ThrottleOutPacketType.Texture) == 0)
|
||||
{
|
||||
//m_log.Debug("No textures queued, sending one packet to kickstart it");
|
||||
SendPacket(m_imageManager.Client);
|
||||
}
|
||||
if ((m_imageManager != null) && (m_imageManager.Client != null) && (m_imageManager.Client.PacketHandler != null))
|
||||
if (m_imageManager.Client.PacketHandler.GetQueueCount(ThrottleOutPacketType.Texture) == 0)
|
||||
{
|
||||
//m_log.Debug("No textures queued, sending one packet to kickstart it");
|
||||
SendPacket(m_imageManager.Client);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user