浏览代码

Remove duplicate wait.

BDisp 8 月之前
父节点
当前提交
e30200db69
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Terminal.Gui/ConsoleDrivers/ConsoleDriver.cs

+ 0 - 2
Terminal.Gui/ConsoleDrivers/ConsoleDriver.cs

@@ -68,8 +68,6 @@ public abstract class ConsoleDriver
                         if (!_ansiRequestTokenSource.IsCancellationRequested)
                         if (!_ansiRequestTokenSource.IsCancellationRequested)
                         {
                         {
                             _mainLoopDriver.WaitForInput.Set ();
                             _mainLoopDriver.WaitForInput.Set ();
-
-                            _waitAnsiRequest.Wait (_ansiRequestTokenSource.Token);
                         }
                         }
                     }
                     }
                     catch (OperationCanceledException)
                     catch (OperationCanceledException)