mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01:00
Merge branch 'feature/qix-unsynced-access-to-toplevelcommand-in-updatecommandsforprovider' into dev/migrie/v04-fun-2
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user