buffers in pool have no data, better mk that clear

This commit is contained in:
UbitUmarov
2019-02-26 01:16:30 +00:00
parent a07951b044
commit 91569e00a0

View File

@@ -205,6 +205,7 @@ namespace OpenMetaverse
if (m_udpBuffersPoolPtr < 999)
{
buf.RemoteEndPoint = null;
buf.DataLength = 0;
m_udpBuffersPoolPtr++;
m_udpBuffersPool[m_udpBuffersPoolPtr] = buf;
}