mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 15:28:23 +00:00
Remove FireEventIfNotNull
It's a pretty useless "helper" class
This commit is contained in:
parent
e4a041b832
commit
391b48614d
21 changed files with 73 additions and 135 deletions
|
|
@ -118,7 +118,7 @@ namespace Emby.Server.Implementations.HttpServer
|
|||
|
||||
void socket_Closed(object sender, EventArgs e)
|
||||
{
|
||||
EventHelper.FireEventIfNotNull(Closed, this, EventArgs.Empty, _logger);
|
||||
Closed?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue