mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 18:44:05 +09:00
Former-commit-id: 851e141fc91b170190d6027f42f59906dda0f31f Former-commit-id: 03dbb9da1788e1c50e84ae33d95f76194ad9a08d
16 lines
326 B
Kotlin
16 lines
326 B
Kotlin
package net.torvald.terrarum.console
|
|
|
|
/**
|
|
* Created by minjaesong on 16-01-18.
|
|
*/
|
|
internal object ForceGC : ConsoleCommand {
|
|
override fun execute(args: Array<String>) {
|
|
System.gc()
|
|
Echo("Invoked System.gc")
|
|
}
|
|
|
|
override fun printUsage() {
|
|
Echo("Invoke garbage collection of JVM.")
|
|
}
|
|
}
|