Project

General

Profile

« Previous | Next » 

Revision ddd46f8b

Added by Leszek Koltunski about 3 years ago

Always reset static variables in DistortedLibrary to default values.

View differences:

src/main/java/org/distorted/library/main/DistortedLibrary.java
1168 1168
      DeferredJobs.onDestroy();          // need to be part of a frame
1169 1169

  
1170 1170
      mOITCompilationAttempted = false;
1171
      mNeedsTransformFeedback  = false;
1171 1172
      }
1172 1173
    }
1173 1174

  
src/main/java/org/distorted/library/main/InternalStackFrameList.java
38 38
  private final static Object mLock = new Object();
39 39
  private static boolean mToDo = false;
40 40
  private static InternalStackFrame mCurrentFrame = null;
41
  private static ArrayList<InternalStackFrame> mFrameList = new ArrayList<>();
41
  private static final ArrayList<InternalStackFrame> mFrameList = new ArrayList<>();
42 42

  
43 43
///////////////////////////////////////////////////////////////////////////////////////////////////
44 44

  

Also available in: Unified diff