Open mipastgt opened 3 years ago
JPro by default prevents System.exit(), because a lot of programs call it when an application is closed.
I would usually use jproRun and jproRelease.
With jpro.preventSystemExit=false
in the jpro.conf you can disable this "feature".
Have to investigate the "restart" issue. I think these are basically 2 issues, jproRestart not working properly, and the restart of the OS is blocked. Gonna keep the ticket open, until we have investigated this.
Just for your info. I could not find any System.exit() in my code and Platform.exit() is only called if I explicitly hit the close button, which I did not do. I closed the application by closing the browser window.
When I launch the JPro Server for the first time, everything works as expected. However, when I try to lauch it again, after some code changes for example, I get:
There seems to be some exception which prevents a system exit. Even when I try to reboot the machine I get: