buffers in pool have no data, better mk that clear

0.9.1.0-post-fixes
UbitUmarov 2019-02-26 01:16:30 +00:00
parent a07951b044
commit 91569e00a0
1 changed files with 1 additions and 0 deletions

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;
}