Browse Source

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

BDisp 5 năm trước cách đây
mục cha
commit
4b57401382
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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)