cleanup some #if for NETSTANDARD1_3

This commit is contained in:
Stef Heyenrath
2025-08-31 11:07:25 +02:00
parent 5c221ff4fa
commit bb561c94d0
17 changed files with 67 additions and 65 deletions

View File

@@ -37,9 +37,9 @@ internal static class PortUtils
}
finally
{
#if !NETSTANDARD1_3
//#if !NETSTANDARD1_3
portSocket.Close();
#endif
//#endif
portSocket.Dispose();
}
}
@@ -75,9 +75,9 @@ internal static class PortUtils
{
foreach (var socket in sockets)
{
#if !NETSTANDARD1_3
//#if !NETSTANDARD1_3
socket.Close();
#endif
//#endif
socket.Dispose();
}
}