diff --git a/VpSharp/src/Internal/Connection.cs b/VpSharp/src/Internal/Connection.cs index 200b886..60edf31 100644 --- a/VpSharp/src/Internal/Connection.cs +++ b/VpSharp/src/Internal/Connection.cs @@ -10,7 +10,7 @@ internal sealed class Connection : IDisposable private readonly List _readyBuffers = new(); private readonly Socket _socket; - private byte[] _pendingBuffer; + private byte[] _pendingBuffer = Array.Empty(); private Timer? _timer; private nint _vpConnection;