Shutting down a running app

How does IntelliJ Shutdown a running app? I have a web app running that
I've created a plugin for. The app starts up fine and when our web app
starts it registers with Runtime.addShutdownHook(Thread) which should be
called when the application is shutting down. However when I click the red
box to stop the web app it does not get called? Is there a reason and can
it be changed?

1 comment
Comment actions Permalink

Current implementation does not really do a "shutdown", but rather terminates the process.
There's a corresponding SCR:


Best regards,
Eugene Zhuravlev
JetBrains, Inc,
"Develop with pleasure!"


Please sign in to leave a comment.