Skip to content

Commit fbc40c3

Browse files
committed
refactor: Make '_cts' nullable type
1 parent 5a5921d commit fbc40c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NetSdrClientApp/Networking/TcpClientWrapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class TcpClientWrapper : ITcpClient
1616
private readonly int _port;
1717
private TcpClient? _tcpClient;
1818
private NetworkStream? _stream;
19-
private CancellationTokenSource _cts;
19+
private CancellationTokenSource? _cts;
2020

2121
public bool Connected => _tcpClient != null && _tcpClient.Connected && _stream != null;
2222

0 commit comments

Comments
 (0)