Merge pull request #199 from slide/master
[mono.git] / mono / tests / finalizer-exception.cs
index ef0b4f6e13ab59afe350cfa48c38c77763bd92c2..595bdebe3af3d5e1cf372e0ab1434bb9b00e1869 100644 (file)
@@ -31,6 +31,7 @@ public class foo  {
                while(true) { 
                        foo instance = new foo(); 
                        list.Add (new WeakReference(instance)); 
+                       Thread.Sleep (0);
                }
                return 1;
        }