Browse Source

Cleanup code.

BDisp 8 months ago
parent
commit
2124ad3b1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Terminal.Gui/ConsoleDrivers/NetDriver/NetEvents.cs

+ 1 - 1
Terminal.Gui/ConsoleDrivers/NetDriver/NetEvents.cs

@@ -19,7 +19,7 @@ internal class NetEvents : IDisposable
     public NetEvents (ConsoleDriver consoleDriver)
     {
         _consoleDriver = consoleDriver ?? throw new ArgumentNullException (nameof (consoleDriver));
-        _inputReadyCancellationTokenSource = new CancellationTokenSource ();
+        _inputReadyCancellationTokenSource = new ();
 
         Task.Run (ProcessInputQueue, _inputReadyCancellationTokenSource.Token);