Author: lluis
Date: 2005-05-05 16:49:34 -0400 (Thu, 05 May 2005)
New Revision: 44096
Modified:
trunk/mono/mono/mini/ChangeLog
trunk/mono/mono/mini/mini.c
Log:
2005-05-05 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* mini.c: Re-enabled runtime cleanup, since running threads should
now properly stop when exiting.
Modified: trunk/mono/mono/mini/ChangeLog
===================================================================
--- trunk/mono/mono/mini/ChangeLog 2005-05-05 20:49:12 UTC (rev 44095)
+++ trunk/mono/mono/mini/ChangeLog 2005-05-05 20:49:34 UTC (rev 44096)
@@ -1,3 +1,8 @@
+2005-05-05 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * mini.c: Re-enabled runtime cleanup, since running threads should
+ now properly stop when exiting.
+
2005-05-05 Zoltan Varga <[EMAIL PROTECTED]>
* mini-codegen.c: New file contaning the arch-independent local
Modified: trunk/mono/mono/mini/mini.c
===================================================================
--- trunk/mono/mono/mini/mini.c 2005-05-05 20:49:12 UTC (rev 44095)
+++ trunk/mono/mono/mini/mini.c 2005-05-05 20:49:34 UTC (rev 44096)
@@ -10089,19 +10089,6 @@
*/
mono_domain_finalize (domain, 2000);
- /*
- * Since the runtime does not suspend/abort running threads when
exiting,
- * freeing up JIT structures could cause crashes in those threads. So
skip
- * that for the moment.
- */
-
- /*
- * This is not safe but people running profilers hopefully do not
- * use threads.
- */
- mono_profiler_shutdown ();
- return;
-
mono_runtime_cleanup (domain);
mono_profiler_shutdown ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches