[Mono-bugs] [Bug 74757][Min] New - AppDomain.ProcessExit event
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 27 Apr 2005 21:38:16 -0400 (EDT)
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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=74757
--- shadow/74757 2005-04-27 21:38:16.000000000 -0400
+++ shadow/74757.tmp.25338 2005-04-27 21:38:16.000000000 -0400
@@ -0,0 +1,28 @@
+Bug#: 74757
+Product: Mono: Runtime
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gonzalo@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: AppDomain.ProcessExit event
+
+This is a reminder to myself, but if someone else wants to test it/ fix it...
+
+Currently we're invoking any ProcessExit delegate at the end of
+mono_runtime_run_main, but mono_thread_manage will not really 'exit' the
+process until all foreground threads are finished.
+
+Check with MS runtime if they trigger the event when Main exits or when the
+last foreground thread is done.
+
+Also add the invocation of the delegates to Environment.Exit if needed.