Function SceneTree.quit

Quits the application. A process exit_code can optionally be passed as an argument. If this argument is 0 or greater, it will override the OS.exitCode defined before quitting the application.

void quit (
  const(long) exit_code = -1L
) nothrow @nogc;