aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/SocketSharp/SharpWebSocket.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/SocketSharp/SharpWebSocket.cs')
-rw-r--r--Emby.Server.Implementations/SocketSharp/SharpWebSocket.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/SocketSharp/SharpWebSocket.cs b/Emby.Server.Implementations/SocketSharp/SharpWebSocket.cs
index 66c5cc334..dcbfb8048 100644
--- a/Emby.Server.Implementations/SocketSharp/SharpWebSocket.cs
+++ b/Emby.Server.Implementations/SocketSharp/SharpWebSocket.cs
@@ -23,9 +23,8 @@ namespace Emby.Server.Implementations.SocketSharp
/// <value>The web socket.</value>
private readonly WebSocket _webSocket;
- private TaskCompletionSource<bool> _taskCompletionSource = new TaskCompletionSource<bool>();
private readonly CancellationTokenSource _cancellationTokenSource = new CancellationTokenSource();
- private bool _disposed = false;
+ private bool _disposed;
public SharpWebSocket(WebSocket socket, ILogger logger)
{