Skip to content

Commit fa87ed8

Browse files
committed
Set the lock object as readonly
1 parent 9afa976 commit fa87ed8

File tree

1 file changed

+1
-1
lines changed
  • src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Input/Stylus/Wisp

1 file changed

+1
-1
lines changed

src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Input/Stylus/Wisp/WispLogic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4044,7 +4044,7 @@ internal long IncrementVersion()
40444044
/// Lock the access to coalesced moves as it's possible it can be accessed simultaneously from two
40454045
/// PenThreads if the initial PenThread fills up with PenContexts.
40464046
/// </summary>
4047-
object _coalesceLock = new object();
4047+
private readonly object _coalesceLock = new object();
40484048

40494049
#if !MULTICAPTURE
40504050
IInputElement _stylusCapture;

0 commit comments

Comments
 (0)