File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
jme3-core/src/main/java/com/jme3/util Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,6 @@ public final class BufferUtils {
7070 private static ConcurrentHashMap <BufferInfo , BufferInfo > trackedBuffers = new ConcurrentHashMap <BufferInfo , BufferInfo >();
7171 static ClearReferences cleanupthread ;
7272
73- private static boolean used ;
74-
7573 /**
7674 * Set it to true if you want to enable direct memory tracking for debugging
7775 * purpose. Default is false. To print direct memory usage use
@@ -108,7 +106,7 @@ public static Buffer clone(Buffer buf) {
108106 }
109107
110108 private static void onBufferAllocated (Buffer buffer ) {
111- used = true ;
109+
112110 if (BufferUtils .trackDirectMemory ) {
113111 if (BufferUtils .cleanupthread == null ) {
114112 BufferUtils .cleanupthread = new ClearReferences ();
You can’t perform that action at this time.
0 commit comments