mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
added null check to web socket
This commit is contained in:
@@ -147,7 +147,7 @@ namespace MediaBrowser.Server.Implementations.ServerManager
|
||||
{
|
||||
OnReceive = ProcessWebSocketMessageReceived,
|
||||
Url = e.Url,
|
||||
QueryString = new NameValueCollection(e.QueryString)
|
||||
QueryString = new NameValueCollection(e.QueryString ?? new NameValueCollection())
|
||||
};
|
||||
|
||||
_webSocketConnections.Add(connection);
|
||||
|
||||
Reference in New Issue
Block a user