From: Marek Habersack Date: Tue, 7 Jul 2015 09:23:20 +0000 (+0200) Subject: [tests] Disable code to prevent Mono runtime crash X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=69014a03269da68142d2c7c7ff61d31812ad3762;p=mono.git [tests] Disable code to prevent Mono runtime crash AppDomain unloading causes a segfault with the Mono runtime on Android. Until the cause is found and fixed this code must remain disabled. --- diff --git a/mcs/class/corlib/Test/System.Reflection.Emit/AssemblyBuilderTest.cs b/mcs/class/corlib/Test/System.Reflection.Emit/AssemblyBuilderTest.cs index 8c1ecc11abc..feb4201d8eb 100644 --- a/mcs/class/corlib/Test/System.Reflection.Emit/AssemblyBuilderTest.cs +++ b/mcs/class/corlib/Test/System.Reflection.Emit/AssemblyBuilderTest.cs @@ -1831,9 +1831,13 @@ public class AssemblyBuilderTest fullName); newDomain.DoCallBack (new CrossAppDomainDelegate (helper.Test)); } finally { +#if !MONODROID + // RUNTIME: crash + // AppDomain unloading crashes the runtime on Android if (newDomain != null) { AppDomain.Unload (newDomain); } +#endif } }