mainWindowCloseBehavior

abstract var mainWindowCloseBehavior: () -> Unit?(source)

Called whenever the main window is closed. Setting this to null will revert to the default close behavior: the app exists when the main window is closed.