mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-19 15:01:18 +02:00
cleanup some #if for NETSTANDARD1_3
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user