aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-05-02 01:30:04 +0200
committerBond_009 <bond.009@outlook.com>2020-05-02 01:30:04 +0200
commit3623aafcb60dec4f4f5055046717d895b7597b60 (patch)
treef300aecbd3ebcf66ae2be7d0ca4eb73c2f90f974 /Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
parent04f826e50c23a8a996fd317124260f67b7ff3f9a (diff)
Make SonarCloud happy
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/WebSocketConnection.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/WebSocketConnection.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
index 1af748ebc..095725c50 100644
--- a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
+++ b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
@@ -36,8 +36,6 @@ namespace Emby.Server.Implementations.HttpServer
/// </summary>
private readonly WebSocket _socket;
- private bool _disposed = false;
-
/// <summary>
/// Initializes a new instance of the <see cref="WebSocketConnection" /> class.
/// </summary>
@@ -221,12 +219,6 @@ namespace Emby.Server.Implementations.HttpServer
};
await OnReceive(info).ConfigureAwait(false);
-
- // Stop reading if there's no more data coming
- if (result.IsCompleted)
- {
- return;
- }
}
}
}