Closed txdv closed 10 years ago
var context = Context.Create(); async = context.CreateAsyncWatcher (() => { async.Stop(); async.Dispose(); context.Stop(); context.Dispose(); Environment.Exit(0); }); async.Send (); async.Start(); context.Start();
Do you have any other suggestions, except a System.Diagnostics.Process.GetCurrentProcess().Kill(), which is kinda pathetic? I mean, why does context have Stop or Dispose at all if it doesn't work, no matter what one does xD
Do you have any other suggestions, except a System.Diagnostics.Process.GetCurrentProcess().Kill(), which is kinda pathetic? I mean, why does context have Stop or Dispose at all if it doesn't work, no matter what one does xD