Don't close console to fast

This commit is contained in:
Karlatemp 2020-12-27 18:08:26 +08:00
parent 8529704378
commit 9a7a4e40bb
No known key found for this signature in database
GPG Key ID: 21FBDDF664FF06F8

View File

@ -219,6 +219,7 @@ public interface MiraiConsoleImplementation : CoroutineScope {
}.onFailure { }.onFailure {
it.printStackTrace() it.printStackTrace()
} }
Thread.sleep(3000L) // 保证信息打印完成
exitProcess(1) exitProcess(1)
} }
} }