Merge pull request #5382 from kumpera/pedump_fix
[mono.git] / mono / tests / thread5.cs
index bc974fca47ecf0df7ddcdec0b8967bd98da51bc6..4c9dcc133cabe9d74c203c9d4807f7a38da76d36 100644 (file)
@@ -3,9 +3,12 @@ using System.Threading;
 
 public class MultiThreadExceptionTest {
        public static void MyThreadStart() {
-               Console.WriteLine("{0} started", 
-                                 Thread.CurrentThread.Name);
-               throw new Exception();
+               try {
+                       Console.WriteLine("{0} started", 
+                                                         Thread.CurrentThread.Name);
+                       throw new Exception();
+               } catch (Exception) {
+               }
        }
        
        public static void Main() {