This commit is contained in:
abdullah2993 2016-07-24 06:40:57 +05:00
parent 5b6c22be01
commit c152f170a8
1 changed files with 1 additions and 6 deletions

View File

@ -172,12 +172,7 @@ namespace xServer.Core.Networking.Utilities
return false;
if (ClearOnReturn)
{
for (int i = 0; i < _bufferLength; i++)
{
buffer[i] = 0;
}
}
Array.Clear(buffer, 0, buffer.Length);
lock (_buffers)
{