Suggested changes.
@@ -393,8 +393,7 @@ namespace Emby.Server.Implementations
|
||||
|
||||
if (_creatingInstances.IndexOf(type) != -1)
|
||||
{
|
||||
Logger.LogError("DI Loop detected.");
|
||||
Logger.LogError("Attempted creation of {Type}", type.FullName);
|
||||
Logger.LogError("DI Loop detected in the attempted creation of {Type}", type.FullName);
|
||||
foreach (var entry in _creatingInstances)
|
||||
{
|
||||
Logger.LogError("Called from: {stack}", entry.FullName);
|
||||
|
||||
@@ -73,12 +73,5 @@
|
||||
<EmbeddedResource Include="Localization\countries.json" />
|
||||
<EmbeddedResource Include="Localization\Core\*.json" />
|
||||
<EmbeddedResource Include="Localization\Ratings\*.csv" />
|
||||
<EmbeddedResource Include="Plugins\blank.png" />
|
||||
<EmbeddedResource Include="Plugins\Superceded.png" />
|
||||
<EmbeddedResource Include="Plugins\Disabled.png" />
|
||||
<EmbeddedResource Include="Plugins\NotSupported.png" />
|
||||
<EmbeddedResource Include="Plugins\Malfunction.png" />
|
||||
<EmbeddedResource Include="Plugins\RestartRequired.png" />
|
||||
<EmbeddedResource Include="Plugins\Active.png" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
@@ -1,7 +1,6 @@
|
||||
#nullable enable
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
@@ -23,8 +22,6 @@ namespace Emby.Server.Implementations
|
||||
/// </summary>
|
||||
public class PluginManager : IPluginManager
|
||||
{
|
||||
private const int OffsetFromTopRightCorner = 38;
|
||||
|
||||
private readonly string _pluginsPath;
|
||||
private readonly Version _appVersion;
|
||||
private readonly JsonSerializerOptions _jsonOptions;
|
||||
|
||||
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 120 B |