Created
June 16, 2011 04:01
-
-
Save amanda-mitchell/1028651 to your computer and use it in GitHub Desktop.
Demonstrates a bug when trying to run the lastest Mono when built for x86_64 on OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
class Program | |
{ | |
static void Main() | |
{ | |
object obj = new object(); | |
for (int i = 0; i < 2; i++) | |
{ | |
AppDomain domain = AppDomain.CreateDomain ("my domain"); | |
AppDomain.Unload(domain); | |
} | |
GC.Collect(); | |
Console.WriteLine(obj); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment