mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 15:03:06 +03:00
changes to use dispose
This commit is contained in:
@@ -58,12 +58,5 @@ namespace MediaBrowser.Controller.Net
|
||||
Task SendAsync<T>(WebSocketMessage<T> message, CancellationToken cancellationToken);
|
||||
|
||||
Task ProcessAsync(CancellationToken cancellationToken = default);
|
||||
|
||||
/// <summary>
|
||||
/// Gracefully closes the socket.
|
||||
/// </summary>
|
||||
/// <returns>Task.</returns>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
Task CloseSocket(CancellationToken cancellationToken);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user