This commit is contained in:
Luke Pulverenti 2013-03-31 17:04:29 -04:00
parent 9f06eb781f
commit b38a41deda

View File

@ -316,7 +316,7 @@ namespace MediaBrowser.Server.Implementations.Library
foreach (var special in movie.SpecialFeatures)
{
// Prevent access to foreach variable in closure
Video special1 = special;
var special1 = special;
LibraryItemsCache.AddOrUpdate(special.Id, special, delegate { return special1; });
}
}