mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:08:33 +00:00
updated nuget
This commit is contained in:
parent
f7deec40d0
commit
3733ebd21e
6 changed files with 26 additions and 19 deletions
|
|
@ -25,7 +25,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
|||
/// <value>The web socket.</value>
|
||||
private System.Net.WebSockets.WebSocket WebSocket { get; set; }
|
||||
|
||||
private CancellationTokenSource _cancellationTokenSource = new CancellationTokenSource();
|
||||
private readonly CancellationTokenSource _cancellationTokenSource = new CancellationTokenSource();
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="NativeWebSocket" /> class.
|
||||
|
|
@ -168,7 +168,6 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
|||
if (dispose)
|
||||
{
|
||||
_cancellationTokenSource.Cancel();
|
||||
_cancellationTokenSource.Dispose();
|
||||
|
||||
WebSocket.Dispose();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue