fixes restart gc
This commit is contained in:
@@ -77,7 +77,6 @@ public abstract class Watchcat extends Thread {
|
|||||||
|
|
||||||
if (AkarinGlobalConfig.noResponseDoGC) {
|
if (AkarinGlobalConfig.noResponseDoGC) {
|
||||||
log.log(Level.SEVERE, "Attempting to garbage collect, may takes a few seconds");
|
log.log(Level.SEVERE, "Attempting to garbage collect, may takes a few seconds");
|
||||||
System.runFinalization();
|
|
||||||
System.gc();
|
System.gc();
|
||||||
}
|
}
|
||||||
if (restart) RestartCommand.restart();
|
if (restart) RestartCommand.restart();
|
||||||
|
|||||||
Reference in New Issue
Block a user