files-community / Files

Building the best file manager for Windows
https://files.community
MIT License
32.92k stars 2.1k forks source link

Bug: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. #15658

Closed sentry-io[bot] closed 1 week ago

sentry-io[bot] commented 1 week ago

Sentry Issue: FILES-APP-8H

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
  ?, in async Task FolderSearch.AddItemsForHomeAsync(IList<ListedItem> results, CancellationToken token)
  ?, in async Task ShellViewModel.SearchAsync(FolderSearch search)

System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.