Bläddra i källkod

There is no null values here.

BDisp 10 månader sedan
förälder
incheckning
ea0cacf080
1 ändrade filer med 0 tillägg och 1 borttagningar
  1. 0 1
      Terminal.Gui/ConsoleDrivers/NetDriver/NetMainLoop.cs

+ 0 - 1
Terminal.Gui/ConsoleDrivers/NetDriver/NetMainLoop.cs

@@ -86,7 +86,6 @@ internal class NetMainLoop : IMainLoopDriver
     {
     {
         while (_resultQueue.Count > 0)
         while (_resultQueue.Count > 0)
         {
         {
-            // Always dequeue even if it's null and invoke if isn't null
             if (_resultQueue.TryTake (out NetEvents.InputResult dequeueResult))
             if (_resultQueue.TryTake (out NetEvents.InputResult dequeueResult))
             {
             {
                 ProcessInput?.Invoke (dequeueResult);
                 ProcessInput?.Invoke (dequeueResult);