dispose image magick environment on shutdown

This commit is contained in:
Luke Pulverenti
2015-02-22 00:45:29 -05:00
parent baed94cee6
commit a0c6c259e6
5 changed files with 6 additions and 7 deletions

View File

@@ -85,8 +85,7 @@ namespace MediaBrowser.Server.Implementations.Library
list.Add(await GetUserView(CollectionType.Movies, string.Empty, cancellationToken).ConfigureAwait(false));
}
if (foldersWithViewTypes.Any(i => string.Equals(i.CollectionType, CollectionType.Games, StringComparison.OrdinalIgnoreCase))
|| _config.Configuration.EnableLegacyCollectionInView)
if (foldersWithViewTypes.Any(i => string.Equals(i.CollectionType, CollectionType.Games, StringComparison.OrdinalIgnoreCase)))
{
list.Add(await GetUserView(CollectionType.Games, string.Empty, cancellationToken).ConfigureAwait(false));
}