exit

fun exit()(source)

Stops the application and exits the main loop.