The Free Software Media System - Server Backend & API
fix build
crobiberoacd88dae45e8
diff --git a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs b/Emby.Server.Implementations/HttpServer/WebSocketConnection.csindex d738047e07..dedc8978bc 100644--- a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs+++ b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs@@ -179,7 +179,7 @@ namespace Emby.Server.Implementations.HttpServerreturn;}- WebSocketMessage<object> stub;+ WebSocketMessage<object>? stub;try{@@ -209,6 +209,12 @@ namespace Emby.Server.Implementations.HttpServerreturn;}+ if (stub is null)+ {+ _logger.LogError("Error processing web socket message");+ return;+ }+// Tell the PipeReader how much of the buffer we have consumedreader.AdvanceTo(buffer.End);