mirror of https://github.com/quasar/Quasar.git
Minor change
This commit is contained in:
parent
9faec9bb9d
commit
03021a6265
|
@ -1,6 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
|
||||||
|
|
||||||
namespace xServer.Core.Networking.Utilities
|
namespace xServer.Core.Networking.Utilities
|
||||||
{
|
{
|
||||||
|
@ -148,7 +147,7 @@ namespace xServer.Core.Networking.Utilities
|
||||||
private byte[] AllocateNewBuffer()
|
private byte[] AllocateNewBuffer()
|
||||||
{
|
{
|
||||||
byte[] newBuffer = new byte[_bufferLength];
|
byte[] newBuffer = new byte[_bufferLength];
|
||||||
Interlocked.Increment(ref _bufferCount);
|
_bufferCount++;
|
||||||
OnNewBufferAllocated(EventArgs.Empty);
|
OnNewBufferAllocated(EventArgs.Empty);
|
||||||
|
|
||||||
return newBuffer;
|
return newBuffer;
|
||||||
|
|
Loading…
Reference in New Issue