Merge branch 'feature/qix-unsynced-access-to-toplevelcommand-in-updatecommandsforprovider' into dev/migrie/v04-fun-2

This commit is contained in:
Mike Griese
2025-07-23 06:57:37 -05:00

View File

@@ -207,7 +207,10 @@ public partial class TopLevelCommandManager : ObservableObject,
clone.InsertRange(startIndex, newItems);
// now update the actual observable list with the new contents
ListHelpers.InPlaceUpdateList(TopLevelCommands, clone);
lock (TopLevelCommands)
{
ListHelpers.InPlaceUpdateList(TopLevelCommands, clone);
}
}
public async Task ReloadAllCommandsAsync()