shutdown

abstract suspend fun shutdown(reason: Throwable? = null)

终止当前应用,并关闭其中所有可能的资源。

Application 被终止后将不能再次启动。