mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Replace redundant xml comments with inheritdoc. Make async changes to CloseSocket.
This commit is contained in:
@@ -231,13 +231,10 @@ namespace Emby.Server.Implementations.HttpServer
|
||||
CancellationToken.None);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gracefully closes the socket.
|
||||
/// </summary>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
public void CloseSocket(CancellationToken cancellationToken)
|
||||
/// <inheritdoc />
|
||||
public async Task CloseSocket(CancellationToken cancellationToken)
|
||||
{
|
||||
_socket.CloseOutputAsync(WebSocketCloseStatus.NormalClosure, "System Shutdown", cancellationToken);
|
||||
await _socket.CloseOutputAsync(WebSocketCloseStatus.NormalClosure, "System Shutdown", cancellationToken).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user