Use System.Threading.Lock

This commit is contained in:
Jiří Polášek
2026-02-12 18:36:08 +01:00
parent 31c010bf2e
commit f991ace57f

View File

@@ -20,7 +20,7 @@ internal sealed class OpenWindows
/// <summary>
/// Used to enforce single execution of EnumWindows
/// </summary>
private static readonly object _enumWindowsLock = new();
private static readonly Lock _enumWindowsLock = new();
/// <summary>
/// PowerLauncher main executable