$stdout.puts("Before exit()") $stdout.flush RBA::Application::instance.exit(0)