https://bugzilla.novell.com/show_bug.cgi?id=656169
https://bugzilla.novell.com/show_bug.cgi?id=656169#c0 Summary: Ctrl-C fails to be intercepted on Windows Classification: Mono Product: Mono: Class Libraries Version: 2.8.x Platform: Other OS/Version: Windows 7 Status: NEW Severity: Normal Priority: P5 - None Component: CORLIB AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: Community User Blocker: --- Description of Problem: Ctrl-C fails to be intercepted on Windows. Run the following on Windows. static void Main(string[] args) { Console.CancelKeyPress += (s, e) => { e.Cancel = true; }; while (true) Console.ReadLine(); } Actual Results: The program exits. Expected Results: The program should not exit. How often does this happen? Every time. Note: This works perfectly under Linux. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
