El siguiente código funciona bien hasta migrar a .NET 4 (x64)StackOverflowException en .NET 4
namespace CrashME
{
class Program
{
private static volatile bool testCrash = false;
private static void Crash()
{
try
{
}
finally
{
HttpRuntime.Cache.Insert("xxx", testCrash);
}
}
static void Main(string[] args)
{
Crash();
// Works on .NET 3.5 , crash on .NET 4
}
}
}
¿Acabo de descubrir un error de tiempo de ejecución, o hay algún problema con el uso de mi?
1 de __ StackOverflow__Exception :) –