Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Await pending client authentication task before disposing (#66682)
Fixes #65455. The assert was hit due to the SslStream being disposed during handshake, while `AuthenticateAsClientAsync` was still running. This removes a rare crash in test runs with debug libraries configuration.
- Loading branch information