Project

General

Profile

« Previous | Next » 

Revision c43abe6c

Added by Leszek Koltunski about 5 years ago

Fixes for memory leak problems uncovered by the 'Rubik' app. (mainly: new method DistortedNode.markForDeletion)

View differences:

src/main/java/org/distorted/library/main/DistortedObject.java
171 171
    {
172 172
    android.util.Log.e("Object", "Done list:");
173 173

  
174
    DistortedObject object;
175
    int num = mDoneList.size();
176

  
177
    for(int i=0; i<num; i++)
174
    for(DistortedObject object : mDoneList)
178 175
      {
179
      object = mDoneList.get(i);
180 176
      object.print("");
181 177
      }
182 178

  

Also available in: Unified diff