[MouseWithoutBorders] - apply #35716 to Thread.cs (.net 9 Lock type) - #35155

This commit is contained in:
mikeclayton 2024-11-16 10:32:57 +00:00
parent e446f91fa5
commit 19963d5282

View File

@ -19,7 +19,7 @@ namespace MouseWithoutBorders.Core;
internal sealed class Thread internal sealed class Thread
{ {
private static readonly object ThreadsLock = new(); private static readonly Lock ThreadsLock = new();
private static List<System.Threading.Thread> threads; private static List<System.Threading.Thread> threads;
private readonly System.Threading.Thread thread; private readonly System.Threading.Thread thread;