Cleanup some small things

This commit is contained in:
Bond_009
2019-01-06 20:35:36 +01:00
parent b27315bc08
commit 07a8e49c4b
8 changed files with 77 additions and 150 deletions

View File

@@ -238,7 +238,6 @@ namespace Emby.Server.Implementations
{
get
{
#if BETA
return PackageVersionClass.Beta;
#endif
@@ -552,7 +551,7 @@ namespace Emby.Server.Implementations
protected void RegisterSingleInstance<T>(T obj, bool manageLifetime = true)
where T : class
{
Container.RegisterSingleton(obj);
Container.RegisterInstance<T>(obj);
if (manageLifetime)
{
@@ -617,7 +616,7 @@ namespace Emby.Server.Implementations
}
catch (Exception ex)
{
Logger.LogError(ex, "Error loading assembly {file}", file);
Logger.LogError(ex, "Error loading assembly {File}", file);
return null;
}
}