Il seguente codice funziona bene fino a quando aggiorno a .NET 4 (x64)StackOverflowException in .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
}
}
}
Ho appena scoprire un bug runtime, o c'è qualche problema con il mio utilizzo?
+1 per __ StackOverflow__Exception :) –