mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 18:00:33 +08:00
GC
This commit is contained in:
parent
1a24935c81
commit
8ce40ea41e
@ -33,6 +33,12 @@ val contentPath by lazy {
|
||||
object WrapperMain {
|
||||
@JvmStatic
|
||||
fun main(args: Array<String>) {
|
||||
GlobalScope.launch{
|
||||
while (true) {
|
||||
delay(1000*60*5)
|
||||
System.gc()
|
||||
}
|
||||
}
|
||||
println("You are running Mirai-Console-Wrapper under " + System.getProperty("user.dir"))
|
||||
|
||||
var type = WrapperProperties.determineConsoleType(WrapperProperties.content)
|
||||
|
Loading…
Reference in New Issue
Block a user