Refactor and other minor changes

This commit is contained in:
gion
2020-04-21 23:37:37 +02:00
parent aad5058d25
commit 083d3272d0
10 changed files with 410 additions and 269 deletions

View File

@@ -176,10 +176,9 @@ namespace Emby.Server.Implementations.HttpServer
{
SendKeepAliveResponse();
}
if (OnReceive != null)
else
{
OnReceive(info);
OnReceive?.Invoke(info);
}
}
catch (Exception ex)