From fc5763c8e84848bab1a96a4289095084a6f560d5 Mon Sep 17 00:00:00 2001 From: cyberpwn Date: Tue, 17 Aug 2021 16:09:58 -0400 Subject: [PATCH] Skip for profiling now --- .../java/com/volmit/iris/engine/IrisComplex.java | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/main/java/com/volmit/iris/engine/IrisComplex.java b/src/main/java/com/volmit/iris/engine/IrisComplex.java index 914e048a2..268213259 100644 --- a/src/main/java/com/volmit/iris/engine/IrisComplex.java +++ b/src/main/java/com/volmit/iris/engine/IrisComplex.java @@ -505,18 +505,6 @@ public class IrisComplex implements DataProvider { } public void close() { - // I know this looks awful, but it helps gc not deal with the spaghetti reference soup going on here - for (Field i : getClass().getDeclaredFields()) - { - if(i.getType().equals(ProceduralStream.class)) - { - i.setAccessible(true); - try { - i.set(this, null); - } catch (IllegalAccessException e) { - e.printStackTrace(); - } - } - } + } }