*/}}
소스 검색

In theory prevents multiple "lawriteprop" call

YimingWu 1 일 전
부모
커밋
583eb73077
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      la_data.c

+ 5 - 5
la_data.c

@@ -3777,11 +3777,11 @@ int laRegisterModifications(int ReturnIfAnyMod, int ReturnIfAnyEmpty, int* rempt
         if(!m->udf)continue;
         m->udf->Modified=0; 
         la_ClearHyper2Instances(m->udf);
-        //laUDFPropSegment* ps; while(ps = lstPopItem(&m->udf->PropsToOperate)){
-        //    la_FreePropStepCache(ps->PP.Go);
-        //    strSafeDestroy(&ps->Path);
-        //    FreeMem(ps);
-        //}
+        laUDFPropSegment* ps; while(ps = lstPopItem(&m->udf->PropsToOperate)){
+            la_FreePropStepCache(ps->PP.Go);
+            strSafeDestroy(&ps->Path);
+            FreeMem(ps);
+        }
     }
     for(laManagedSaveProp* msp=MAIN.ManagedSaveProps.pFirst;msp;msp=msp->Item.pNext){
         laPropPack PP={0}; registered=0;