diff options
| author | gion <oancaionutandrei@gmail.com> | 2020-05-04 19:46:02 +0200 |
|---|---|---|
| committer | gion <oancaionutandrei@gmail.com> | 2020-05-09 12:37:23 +0200 |
| commit | 6e22e9222b68ad117550c02a8cbce2d65878f50b (patch) | |
| tree | c5654f590a3aecf9a4691f25beb5e41d57442ede /Emby.Server.Implementations/HttpServer/WebSocketConnection.cs | |
| parent | 0b974d09ca08f70d9cd61d4871698956026b7b3b (diff) | |
Fix code issues
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/WebSocketConnection.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/WebSocketConnection.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs index c819c163a..4c33ff71b 100644 --- a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs +++ b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs @@ -238,10 +238,10 @@ namespace Emby.Server.Implementations.HttpServer return _socket.SendAsync(text, true, cancellationToken); } - private Task SendKeepAliveResponse() + private void SendKeepAliveResponse() { LastKeepAliveDate = DateTime.UtcNow; - return SendAsync(new WebSocketMessage<string> + SendAsync(new WebSocketMessage<string> { MessageType = "KeepAlive" }, CancellationToken.None); |
