1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-22 23:58:47 +00:00

Initialize _pendingBuffer

This commit is contained in:
Oliver Booth 2022-11-30 19:01:46 +00:00
parent cb232cd0d3
commit 220eeeec69
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -10,7 +10,7 @@ internal sealed class Connection : IDisposable
private readonly List<byte[]> _readyBuffers = new(); private readonly List<byte[]> _readyBuffers = new();
private readonly Socket _socket; private readonly Socket _socket;
private byte[] _pendingBuffer; private byte[] _pendingBuffer = Array.Empty<byte>();
private Timer? _timer; private Timer? _timer;
private nint _vpConnection; private nint _vpConnection;