[Mono-bugs] [Bug 76156][Wis] New - ThreadExit event not fired when Application.ExitThread is called

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 19 22:30:13 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by peter at novonyx.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76156

--- shadow/76156	2005-09-19 22:30:13.000000000 -0400
+++ shadow/76156.tmp.14837	2005-09-19 22:30:13.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 76156
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: peter at novonyx.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ThreadExit event not fired when Application.ExitThread is called
+
+Attached sample code. When run on MS.Net, the output is:
+[s:\winforms\bug]bug
+Sleeping for 2 seconds
+Now exiting thread
+Have Application.ThreadExit event
+Have Application.ThreadExit event
+Last line in thread
+
+When run on Mono, we get:
+[root at pbartok2 bug]# mono bug.exe
+Mono System.Windows.Forms Assembly [Revision: 49925; built: 2005/9/11 
+14:27:24]
+Keyboard: United States keyboard layout
+Sleeping for 2 seconds
+Now exiting thread
+Last line in thread
+Have Application.ThreadExit event
+Have Application.ApplicationExit event


More information about the mono-bugs mailing list