From 19963d528219fa65dd49a236a1eecee91e1ab311 Mon Sep 17 00:00:00 2001 From: mikeclayton Date: Sat, 16 Nov 2024 10:32:57 +0000 Subject: [PATCH] [MouseWithoutBorders] - apply #35716 to Thread.cs (.net 9 Lock type) - #35155 --- src/modules/MouseWithoutBorders/App/Core/Thread.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/MouseWithoutBorders/App/Core/Thread.cs b/src/modules/MouseWithoutBorders/App/Core/Thread.cs index dc9bb35856..1ce276e903 100644 --- a/src/modules/MouseWithoutBorders/App/Core/Thread.cs +++ b/src/modules/MouseWithoutBorders/App/Core/Thread.cs @@ -19,7 +19,7 @@ namespace MouseWithoutBorders.Core; internal sealed class Thread { - private static readonly object ThreadsLock = new(); + private static readonly Lock ThreadsLock = new(); private static List threads; private readonly System.Threading.Thread thread;