Replace redundant xml comments with inheritdoc. Make async changes to CloseSocket.

This commit is contained in:
luke92brown
2022-05-09 22:00:30 -05:00
committed by luke brown
parent 4b563f4d7e
commit 99df9c8fcd
6 changed files with 15 additions and 19 deletions

View File

@@ -88,15 +88,12 @@ namespace Emby.Server.Implementations.Session
cancellationToken);
}
/// <summary>
/// Gracefully closes all web sockets.
/// </summary>
/// <param name="cancellationToken">The cancellation token.</param>
public void CloseAllWebSockets(CancellationToken cancellationToken)
/// <inheritdoc />
public async Task CloseAllWebSockets(CancellationToken cancellationToken)
{
foreach (var socket in _sockets)
{
socket.CloseSocket(cancellationToken);
await socket.CloseSocket(cancellationToken).ConfigureAwait(false);
}
}