I solved by not showing the MainForm and closing this, which should close the application as well.
It's a "workaround" and couldn't be done with a non-UI applications.
I solved by not showing the MainForm and closing this, which should close the application as well.
It's a "workaround" and couldn't be done with a non-UI applications.