From 1d35263e4af3d56f061166a3a97e159e274d3223 Mon Sep 17 00:00:00 2001 From: Davide Giacometti Date: Mon, 14 Aug 2023 19:23:08 +0200 Subject: [PATCH] fix InvalidOperationException collection was modified (#27975) --- .../Microsoft.Plugin.WindowWalker/Components/OpenWindows.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Components/OpenWindows.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Components/OpenWindows.cs index 0d4220dae9..d89bb200a2 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Components/OpenWindows.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.WindowWalker/Components/OpenWindows.cs @@ -40,7 +40,7 @@ namespace Microsoft.Plugin.WindowWalker.Components /// /// Gets the list of all open windows /// - internal List Windows => windows; + internal List Windows => new List(windows); /// /// Gets an instance property of this class that makes sure that