Platform: make *Application::exit() exit right after constructor ends.
Instead of first entering the main loop, processing events etc. This
also makes it finally possible to exit the application cleanly, with all
non-global destructors executed as well.
.addBooleanOption("exit-immediately").setHelp("exit-immediately","exit the application immediately from the constructor, to test that the app doesn't run any event handlers after")
.addBooleanOption("exit-immediately").setHelp("exit-immediately","exit the application immediately from the constructor, to test that the app doesn't run any event handlers after")
.addBooleanOption("exit-immediately").setHelp("exit-immediately","exit the application immediately from the constructor, to test that the app doesn't run any event handlers after")
.addBooleanOption("exit-immediately").setHelp("exit-immediately","exit the application immediately from the constructor, to test that the app doesn't run any event handlers after")
.addBooleanOption("exit-immediately").setHelp("exit-immediately","exit the application immediately from the constructor, to test that the app doesn't run any event handlers after")