Make sure GC can actually happen
This commit is contained in:
parent
21dcf9d3df
commit
a0f0600184
|
|
@ -57,6 +57,7 @@ public class IntegratedWatchdog extends Thread {
|
|||
nextTick = 0;
|
||||
curTime = 0;
|
||||
}
|
||||
server = null; /* allow GC */
|
||||
try {
|
||||
Thread.sleep(nextTick + MAX_TICK_DELTA - curTime);
|
||||
} catch(InterruptedException ignored) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user