From 45ee8a985dc6024d5b00c05054098b83c1fddb8d Mon Sep 17 00:00:00 2001 From: Andy Butland Date: Fri, 31 Jan 2020 13:36:14 +0100 Subject: [PATCH] Add disambiguity otherwise flagged by build checks. --- .../NuCache/ContentStore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Infrastructure.PublishedCache/NuCache/ContentStore.cs b/src/Umbraco.Infrastructure.PublishedCache/NuCache/ContentStore.cs index 3ee0c3faa8..e84586f415 100644 --- a/src/Umbraco.Infrastructure.PublishedCache/NuCache/ContentStore.cs +++ b/src/Umbraco.Infrastructure.PublishedCache/NuCache/ContentStore.cs @@ -1329,7 +1329,7 @@ namespace Umbraco.Web.PublishedCache.NuCache return _collectTask; // ReSharper disable InconsistentlySynchronizedField - var task = _collectTask = Task.Run(Collect); + var task = _collectTask = Task.Run((Action)Collect); _collectTask.ContinueWith(_ => { lock (_rlocko)