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
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
using System.Net.Sockets;
using System.Net.Sockets;
using System.Runtime.InteropServices;
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();
}