eclipse-efx / efxclipse-rt

Eclipse Public License 1.0
28 stars 29 forks source link

FXClassloader adapter hook: Application is not terminating if bundle org.eclipse.swt is found #420

Closed christian-baumann closed 3 years ago

christian-baumann commented 3 years ago

The reason is that Platform.setImplicitExit(false) is called when the bundle org.eclipse.swt is found. Setting implicitExit to false is only needed for Application using FXCanvas in order to prevent JavaFX to terminate when FXCanvas is disposed.

With the current implementation implicitExit=false is set for every application using SWT, but is should only be set when FXCanvas is used.