2 using System.Threading;
7 AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
8 WaitCallback wcb = new WaitCallback ((a) => {
9 Thread.CurrentThread.Abort ();
11 wcb.BeginInvoke (wcb, null, null);
16 static void OnUnhandledException (object sender, UnhandledExceptionEventArgs e)