Browse Source

Fixing issue #21

Former-commit-id: f09d05ba437057089a2b4e3798156611f6a37072
af/merge-core
James South 12 years ago
parent
commit
77d31012cd
  1. 8
      src/ImageProcessor.Web/NET45/Caching/MemCache.cs
  2. 5
      src/ImageProcessor.Web/NET45/Properties/AssemblyInfo.cs

8
src/ImageProcessor.Web/NET45/Caching/MemCache.cs

@ -181,7 +181,8 @@ namespace ImageProcessor.Web.Caching
if (isRemoved)
{
CacheItems.Keys.Remove(key);
string removedValue;
CacheItems.TryRemove(key, out removedValue);
}
}
@ -228,7 +229,8 @@ namespace ImageProcessor.Web.Caching
// Loop through and clear out the dictionary of cache keys.
foreach (KeyValuePair<string, string> cacheItem in tempDictionary)
{
CacheItems.Keys.Remove(cacheItem.Key);
string removedValue;
CacheItems.TryRemove(cacheItem.Key, out removedValue);
}
}
}
@ -237,4 +239,4 @@ namespace ImageProcessor.Web.Caching
}
#endregion
}
}
}

5
src/ImageProcessor.Web/NET45/Properties/AssemblyInfo.cs

@ -31,5 +31,6 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("3.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
[assembly: AssemblyVersion("3.0.0.1")]
[assembly: AssemblyFileVersion("3.0.0.1")]

Loading…
Cancel
Save