Fix NullReferenceException at startup

This commit is contained in:
ferferga
2020-03-26 22:26:25 +01:00
parent 105fc3dc29
commit 28f07df657
7 changed files with 23 additions and 7 deletions

View File

@@ -34,11 +34,13 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
public DeleteCacheFileTask(
IApplicationPaths appPaths,
ILogger<DeleteCacheFileTask> logger,
IFileSystem fileSystem)
IFileSystem fileSystem,
ILocalizationManager localization)
{
ApplicationPaths = appPaths;
_logger = logger;
_fileSystem = fileSystem;
_localization = localization;
}
/// <summary>