/// <summary> /// Safely exit current Trinity instance. Logs will be flushed before exiting. /// </summary> public static void Exit() { Global.Exit(0); }