Re: JavaFX app with Spring doesn't terminate on Mac OS X with Cmd-Q

2013-07-05 Thread Fabrizio Giudici
On Fri, 05 Jul 2013 12:46:35 +0200, Anthony Petrov wrote: Hi Fabrizio, Cmd-Q (or, rather the implicit exit machinery) does not call System.exit(). All it does when it detects that there's no FX windows open, it terminates the FX Event Thread. This is clearly stated in the javadoc [1].

Re: JavaFX app with Spring doesn't terminate on Mac OS X with Cmd-Q

2013-07-05 Thread Anthony Petrov
Hi Fabrizio, Cmd-Q (or, rather the implicit exit machinery) does not call System.exit(). All it does when it detects that there's no FX windows open, it terminates the FX Event Thread. This is clearly stated in the javadoc [1]. The rest depends on the JVM. As long as there are active non-dae

JavaFX app with Spring doesn't terminate on Mac OS X with Cmd-Q

2013-07-04 Thread Fabrizio Giudici
Hello. I have a JavaFX app that uses Spring to instantiate a number of services and presentation controllers. I think it's relevant to mention that among other services there's Jetty, an embedded web server that starts listening to a socket with its own threads. The Spring ApplicationContex