WebOptimizer icon indicating copy to clipboard operation
WebOptimizer copied to clipboard

Collection was modified; enumeration operation may not execute

Open kiranbhadani opened this issue 3 years ago • 0 comments

We are getting this error frequently in production environment, not able to find the cause of the issue

System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Generic.HashSet`1.Enumerator.MoveNext() at WebOptimizer.Asset.ExpandGlobs(IAsset asset, IWebHostEnvironment env) at WebOptimizer.Asset.GenerateCacheKey(HttpContext context)

kiranbhadani avatar Sep 28 '22 12:09 kiranbhadani