mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 10:30:13 +08:00
GC
This commit is contained in:
parent
1a24935c81
commit
8ce40ea41e
@ -33,6 +33,12 @@ val contentPath by lazy {
|
|||||||
object WrapperMain {
|
object WrapperMain {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun main(args: Array<String>) {
|
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"))
|
println("You are running Mirai-Console-Wrapper under " + System.getProperty("user.dir"))
|
||||||
|
|
||||||
var type = WrapperProperties.determineConsoleType(WrapperProperties.content)
|
var type = WrapperProperties.determineConsoleType(WrapperProperties.content)
|
||||||
|
Loading…
Reference in New Issue
Block a user