Open lontivero opened 1 year ago
0.10.18 is pretty outdated. Can you double-check using 11.0 if the issue is still present?
Not sure if 0.10 will get any fixes. But if you want to file a PR to the 0.10.x branch, you may have luck it might make it into the next 0.10.x version.
Can you double-check using 11.0 if the issue is still present?
Sure. The issue is a bit hard to reproduce but I think we can do it, yes. @wieslawsoltes @soosr
0.10.18 is pretty outdated
Yes, but this code didn't change much and the iteration against a mutable collection is still there. Anyway, let us see if we can verify the problem is there in 11.
if the issue is still present and this is an easy fix, a PR is still welcome :-)
Describe the bug
System.InvalidOperationException
is thrown in occasionallyThis problem was originally reported in Wasabi: https://github.com/zkSNACKs/WalletWasabi/issues/10286
To Reproduce
It is not clear how to reproduce it.
Expected behavior
N/A
Screenshots
NA
Environment
Additional context
It seems
MountedVolumes
property is modified during iteration time. (see: https://github.com/AvaloniaUI/Avalonia/blob/a7725b0ca6625f5d35fffc79b94012d38718e8ad/src/Avalonia.Dialogs/Internal/ManagedFileChooserSources.cs#L55) It could make sense to materialize the collection first.