mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +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>
|
/// <summary>
|
||||||
/// Gets the list of all open windows
|
/// Gets the list of all open windows
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal List<Window> Windows => windows;
|
internal List<Window> Windows => new List<Window>(windows);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets an instance property of this class that makes sure that
|
/// Gets an instance property of this class that makes sure that
|
||||||
|
|||||||
Reference in New Issue
Block a user