We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccd25cd commit e99140dCopy full SHA for e99140d
Terminal.Gui/ConsoleDrivers/NetDriver.cs
@@ -1685,11 +1685,6 @@ bool IMainLoopDriver.EventsPending ()
1685
1686
if (_mainLoop.CheckTimersAndIdleHandlers (out int waitTimeout))
1687
{
1688
- // HACK: CheckTimers returns true even if the timer is not due i.e. it could be
1689
- // timer is due to run in 30s interval but even so it return true so we hammer main loop
1690
- // this avoids hammer CPU but better fix would be to only return true from CheckTimersAndIdleHandlers
1691
- // if the timeout is actually due
1692
- Task.Delay (50).Wait (_eventReadyTokenSource.Token);
1693
return true;
1694
}
1695
0 commit comments