Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid NullReferenceException in TcpClient.EndConnect (#899)
When the timeout is shorter than the time TcpClient.ConnectAsync takes to throw The task.Wait returns before the end of the task, then dispose the Tcpclient before the end of its ConnectAsync call Co-authored-by: Paul BARRY DELONGCHAMPS <[email protected]>
- Loading branch information