buffers in pool have no data, better mk that clear
parent
a07951b044
commit
91569e00a0
|
@ -205,6 +205,7 @@ namespace OpenMetaverse
|
||||||
if (m_udpBuffersPoolPtr < 999)
|
if (m_udpBuffersPoolPtr < 999)
|
||||||
{
|
{
|
||||||
buf.RemoteEndPoint = null;
|
buf.RemoteEndPoint = null;
|
||||||
|
buf.DataLength = 0;
|
||||||
m_udpBuffersPoolPtr++;
|
m_udpBuffersPoolPtr++;
|
||||||
m_udpBuffersPool[m_udpBuffersPoolPtr] = buf;
|
m_udpBuffersPool[m_udpBuffersPoolPtr] = buf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue