aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/GTplusplus.java
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2018-05-29 19:10:36 +1000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2018-05-29 19:10:36 +1000
commit29258132152e2b0b6670fffc366598ccc2b00351 (patch)
tree5cb2e3e71b7e95f5b0a5838d2ba0b1247a38e5e6 /src/Java/gtPlusPlus/GTplusplus.java
parent272cd6156d1dc92985b613511b4cae62ef516bb1 (diff)
downloadGT5-Unofficial-29258132152e2b0b6670fffc366598ccc2b00351.tar.gz
GT5-Unofficial-29258132152e2b0b6670fffc366598ccc2b00351.tar.bz2
GT5-Unofficial-29258132152e2b0b6670fffc366598ccc2b00351.zip
+ Added a display string to the GUI of the threaded buffers, showing seconds remaining before the thread belonging to this buffer is released. This will also show ms/25 lag info someday.
+ Added invokeGC() to SystemUtils.java. $ More thread safety.
Diffstat (limited to 'src/Java/gtPlusPlus/GTplusplus.java')
-rw-r--r--src/Java/gtPlusPlus/GTplusplus.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/GTplusplus.java b/src/Java/gtPlusPlus/GTplusplus.java
index 7d4f20aa56..6ea182f472 100644
--- a/src/Java/gtPlusPlus/GTplusplus.java
+++ b/src/Java/gtPlusPlus/GTplusplus.java
@@ -43,6 +43,7 @@ import gtPlusPlus.core.util.minecraft.*;
import gtPlusPlus.core.util.reflect.ReflectionUtils;
import gtPlusPlus.core.util.sys.GeoUtils;
import gtPlusPlus.core.util.sys.NetworkUtils;
+import gtPlusPlus.core.util.sys.SystemUtils;
import gtPlusPlus.plugin.manager.Core_Manager;
import gtPlusPlus.xmod.gregtech.api.objects.GregtechBufferThread;
import gtPlusPlus.xmod.gregtech.common.Meta_GT_Proxy;
@@ -178,6 +179,7 @@ public class GTplusplus implements ActionListener {
for (GregtechBufferThread i : GregtechBufferThread.mBufferThreadAllocation.values()) {
i.destroy();
}
+ SystemUtils.invokeGC();
}
}