Project

General

Profile

« Previous | Next » 

Revision 30094332

Added by Leszek Koltunski over 3 years ago

More support for using the library from more than one activity. Should be working now!

View differences:

src/main/java/org/distorted/library/main/DistortedLibrary.java
1093 1093
  public static void onPause(long id)
1094 1094
    {
1095 1095
    InternalStackFrameList.onPause(id);
1096
    Dynamic.onPause();
1096
    Dynamic.onPause();  // common for all frames
1097 1097

  
1098 1098
    mLinkedListSSBO[0]= -1;
1099 1099
    mAtomicCounter = null;
......
1137 1137

  
1138 1138
    if( InternalStackFrameList.isInitialized() )
1139 1139
      {
1140
      InternalStackFrameList.setInitialized(false);
1141
      mOITCompilationAttempted = false;
1142

  
1143 1140
      InternalStackFrameList.onDestroy(id);
1144 1141
      InternalNodeData.onDestroy();
1145 1142
      InternalMaster.onDestroy();
......
1148 1145
      EffectQueue.onDestroy();
1149 1146
      Effect.onDestroy();
1150 1147
      DeferredJobs.onDestroy();
1151
      EffectMessageSender.stopSending();
1148

  
1149
      mOITCompilationAttempted = false;
1152 1150
      }
1153 1151
    }
1154 1152

  

Also available in: Unified diff