Hi,
After update from 2.0.17 to 2.1.22 i have the error message, shoewd in atthached picture, when use the application.exit command.
Any suggestion?
thanks in advance.
Hi Angelo,
it´s fixed in Wisej dev build 2.1.37.
Best regards
Frank
Ciao Angelo,
I can reproduce. It’s a regression and it’s caused by a fix in the application termination code. The ThreadAbortException should not make it to the app. You can workaround it like this:
in Main
Application.ThreadException += Application_ThreadException; private static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e) { if (e.Exception is ThreadAbortException) { // do nothing. } else { // display exception? } }
Having a global exception handler in the app is a good thing in general since it lets your app manage any exception.
HTH
Please login first to submit.