mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-28 05:10:30 +00:00
added null check to web socket
This commit is contained in:
parent
dcf8e4c4b5
commit
ca492d105e
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue