mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Remove FireEventIfNotNull
It's a pretty useless "helper" class
This commit is contained in:
@@ -184,7 +184,7 @@ namespace Emby.Server.Implementations.HttpServer
|
||||
|
||||
if (WebSocketConnected != null)
|
||||
{
|
||||
EventHelper.FireEventIfNotNull(WebSocketConnected, this, new GenericEventArgs<IWebSocketConnection>(connection), _logger);
|
||||
WebSocketConnected?.Invoke(this, new GenericEventArgs<IWebSocketConnection>(connection));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user