Dispose socket in test after synchronous connect

This commit is contained in:
Stephen Halter 2017-03-22 10:33:38 -07:00
parent c65734667a
commit fffb823e99
1 changed files with 1 additions and 0 deletions

View File

@ -562,6 +562,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests
}
else
{
socketArgs.ConnectSocket?.Dispose();
return socketArgs.SocketError == SocketError.Success;
}
}