mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
buffers in pool have no data, better mk that clear
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user