فهرست منبع

Fixes #847. Since the timeout issue are fixed there is no need to use tokenSource.Cancel but just reset the eventReady.

BDisp 5 سال پیش
والد
کامیت
4b57401382
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

+ 3 - 3
Terminal.Gui/ConsoleDrivers/WindowsDriver.cs

@@ -628,9 +628,9 @@ namespace Terminal.Gui {
 
 		void IMainLoopDriver.Wakeup ()
 		{
-			tokenSource.Cancel ();
-			//eventReady.Reset ();
-			//eventReady.Set ();
+			//tokenSource.Cancel ();
+			eventReady.Reset ();
+			eventReady.Set ();
 		}
 
 		bool IMainLoopDriver.EventsPending (bool wait)