mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 08:15:28 +03:00
Replace redundant xml comments with inheritdoc. Make async changes to CloseSocket.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user