From 93517ec3723f93886f2869e50e95ffa51a65377e Mon Sep 17 00:00:00 2001 From: syeyoung Date: Sat, 19 Nov 2022 23:05:02 +0900 Subject: - Why does worldclient have separate entity list - do not exit hypixel when reloading dg - GC please Signed-off-by: syeyoung --- .../java/kr/syeyoung/dungeonsguide/launcher/loader/LocalLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader/src/main/java/kr/syeyoung') diff --git a/loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/loader/LocalLoader.java b/loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/loader/LocalLoader.java index 1264c7ee..42d27b76 100644 --- a/loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/loader/LocalLoader.java +++ b/loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/loader/LocalLoader.java @@ -90,7 +90,7 @@ public class LocalLoader implements IDGLoader { classLoader.cleanup(); classLoader = null; dgInterface = null; - System.gc();// pls do + System.gc(); // pls do Reference t = refQueue.poll(); if (t == null) throw new DungeonsGuideUnloadingException("Reference Leaked"); // Why do you have to be that strict? Well, to tell them to actually listen on DungeonsGuideReloadListener. If it starts causing issues then I will remove check cus it's not really loaded (classes are loaded by child classloader) t.clear(); -- cgit