mirror of https://github.com/quasar/Quasar.git
Clean up
This commit is contained in:
parent
5b6c22be01
commit
c152f170a8
|
@ -172,12 +172,7 @@ namespace xServer.Core.Networking.Utilities
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (ClearOnReturn)
|
if (ClearOnReturn)
|
||||||
{
|
Array.Clear(buffer, 0, buffer.Length);
|
||||||
for (int i = 0; i < _bufferLength; i++)
|
|
||||||
{
|
|
||||||
buffer[i] = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
lock (_buffers)
|
lock (_buffers)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue