quitApplication

abstract fun quitApplication(): Boolean

执行退出应用前的清理事项,关闭所有非守护线程。

Return

true 已经成功完成, false 表示无法清理所有资源,调度系统会Runtime.halt强制退出