[CI] ignore appdomain-unload-asmload.exe on interp and full-aot
[mono.git] / mono / tests / finalizer-exit.cs
index 1f75d4b47aa6b9ed5ce16f0a801e617535bfd62c..89c1f8c796b9f5ebc56a5aacde9ed87f40b365f9 100644 (file)
@@ -23,6 +23,7 @@ public class foo  {
                while(true) { 
                        foo instance = new foo(); 
                        list.Add (new WeakReference(instance)); 
+                       Thread.Sleep (0);
                } 
                return 1;
        }