Compare commits

...

2 Commits

Author SHA1 Message Date
WilliamWsyHK 52f936d241
Merge 6082176d05 into 062ef43eb4 2024-09-18 11:01:24 +08:00
WilliamWsyHK 6082176d05 Do not use foreach while updating original enumerable 2024-09-03 23:55:04 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -313,9 +313,9 @@ namespace Ryujinx.Ava.UI.ViewModels
public void DeleteAll()
{
foreach (var mod in Mods)
while (Mods.Count > 0)
{
Delete(mod);
Delete(Mods[0]);
}
Mods.Clear();