static void HandleException (GLib.UnhandledExceptionArgs args) { args.ExitApplication = false; exceptionHappened = (Exception)args.ExceptionObject; lastHandle.Set (); }