48 introduced a new view sitting in a separate window. The default JavaFX behaviour is to terminate the application once all windows (Stages) associated with it are closed/hidden.
In our case, since we have a "main" window and one (eventually more?) sub-window, closing the main window should trigger the closing of the other windows and of the complete application. This would require having a window manager of sorts, and having window creation go through that instead of doing (new Stage(...)).show().
48 introduced a new view sitting in a separate window. The default JavaFX behaviour is to terminate the application once all windows (Stages) associated with it are closed/hidden.
In our case, since we have a "main" window and one (eventually more?) sub-window, closing the main window should trigger the closing of the other windows and of the complete application. This would require having a window manager of sorts, and having window creation go through that instead of doing
(new Stage(...)).show()
.