1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-10 04:55:41 +00:00

Use nullable state parameter

This commit is contained in:
Oliver Booth 2022-11-30 00:48:47 +00:00
parent f4c7bdad41
commit af0dbf5259
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -1,4 +1,4 @@
using System.Net.Sockets; using System.Net.Sockets;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using VpSharp.NativeApi; using VpSharp.NativeApi;
@ -93,7 +93,7 @@ internal class Connection
} }
} }
private static void HandleTimeout(object state) private static void HandleTimeout(object? state)
{ {
(state as Connection)?.HandleTimeout(); (state as Connection)?.HandleTimeout();
} }