Guarding a line that is sometimes throwing a null pointer exception.
parent
30aac00f6b
commit
d93e0a0503
|
@ -197,6 +197,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
m_currentPacket = StartPacket;
|
m_currentPacket = StartPacket;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((m_imageManager != null) && (m_imageManager.Client != null) && (m_imageManager.Client.PacketHandler != null))
|
||||||
if (m_imageManager.Client.PacketHandler.GetQueueCount(ThrottleOutPacketType.Texture) == 0)
|
if (m_imageManager.Client.PacketHandler.GetQueueCount(ThrottleOutPacketType.Texture) == 0)
|
||||||
{
|
{
|
||||||
//m_log.Debug("No textures queued, sending one packet to kickstart it");
|
//m_log.Debug("No textures queued, sending one packet to kickstart it");
|
||||||
|
|
Loading…
Reference in New Issue