This commit is contained in:
Stephan
2015-05-19 09:24:25 +02:00
parent 444a028e30
commit 16e06b6d4d
4 changed files with 6 additions and 80 deletions

View File

@@ -2,7 +2,6 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
namespace Umbraco.Core.Cache
@@ -106,7 +105,7 @@ namespace Umbraco.Core.Cache
if (result == null || GetSafeLazyValue(result, true) == null) // get non-created as NonCreatedValue & exceptions as null
{
result = new Lazy<object>(getCacheItem, LazyThreadSafetyMode.PublicationOnly);
result = new Lazy<object>(getCacheItem);
ContextItems[cacheKey] = result;
}
}