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;
|
nextTick = 0;
|
||||||
curTime = 0;
|
curTime = 0;
|
||||||
}
|
}
|
||||||
|
server = null; /* allow GC */
|
||||||
try {
|
try {
|
||||||
Thread.sleep(nextTick + MAX_TICK_DELTA - curTime);
|
Thread.sleep(nextTick + MAX_TICK_DELTA - curTime);
|
||||||
} catch(InterruptedException ignored) {
|
} catch(InterruptedException ignored) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user