void (@NotNull ActionCallback callback, @NotNull PlaybackContext context) { writeExitMetricsIfNeeded(); String[] arguments = getText().split(" ", 2); boolean forceExit = true; if (arguments.length > 1) { forceExit = Boolean.parseBoolean(arguments[1]); } ApplicationManager.getApplication().exit(forceExit, true, false); callback.setDone(); }