mvvmfx-cdi/src/main/java/de/saxsys/mvvmfx/cdi/MvvmfxCdiApplication.java
@Override
	public final void stop() throws Exception {
		stopMvvmfx();

		injectionTarget.preDestroy(this);
		injectionTarget.dispose(this);

		ctx.release();

		container.close();
	}
@Override
	public final void stop() throws Exception {
		stopMvvmfx();

		injectionTarget.preDestroy(this);
		injectionTarget.dispose(this);

		ctx.release();

		container.close();
	}
This method is called when the application should stop. See {@link javafx.application.Application#stop()} for
more details.

Unlike the original stop method in {@link javafx.application.Application} this method contains logic to release
resources managed by the CDI container.  For this reason this method is now final to prevent unintended overriding.
* Please use {@link #stopMvvmfx()} ()} for you own initialization logic.

@throws Exception