[Mono-bugs] [Bug 74678][Nor] Changed - Writing to console should be safe from finalizer
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 28 Apr 2005 19:18:35 -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 michi@zeroc.com.
http://bugzilla.ximian.com/show_bug.cgi?id=74678
--- shadow/74678 2005-04-28 13:03:15.000000000 -0400
+++ shadow/74678.tmp.3022 2005-04-28 19:18:35.000000000 -0400
@@ -73,6 +73,17 @@
------- Additional Comments From vargaz@gmail.com 2005-04-28 13:03 -------
It is possible that you are running into the general Environment.Exit
race conditions described here instead of that bug:
http://bugzilla.ximian.com/show_bug.cgi?id=71274
+
+------- Additional Comments From michi@zeroc.com 2005-04-28 19:18 -------
+Turns out that this behavior is officially documented:
+http://msdn.microsoft.com/library/default.asp?url=/library/en-
+us/cpref/html/frlrfsystemenvironmentclasshasshutdownstartedtopic.asp
+
+From that page: "Note: An exception to this rule is the Console
+class, which contains static fields that reference stream objects,
+but is implemented specially so you can always write to the system
+console, even during domain unloading or system shutdown."
+