mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
fix InvalidOperationException collection was modified (#27975)
This commit is contained in:
committed by
GitHub
parent
268614ccd9
commit
1d35263e4a
@@ -40,7 +40,7 @@ namespace Microsoft.Plugin.WindowWalker.Components
|
||||
/// <summary>
|
||||
/// Gets the list of all open windows
|
||||
/// </summary>
|
||||
internal List<Window> Windows => windows;
|
||||
internal List<Window> Windows => new List<Window>(windows);
|
||||
|
||||
/// <summary>
|
||||
/// Gets an instance property of this class that makes sure that
|
||||
|
||||
Reference in New Issue
Block a user