Add disambiguity otherwise flagged by build checks.

This commit is contained in:
Andy Butland
2020-01-31 13:36:14 +01:00
parent 5ebade460f
commit 45ee8a985d

View File

@@ -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)