mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-23 01:08:47 +00:00
Use nullable state parameter
This commit is contained in:
parent
f4c7bdad41
commit
af0dbf5259
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user