소스 검색

0922 修改log

caizm 2 년 전
부모
커밋
e4dee0c30e
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      CAE_Solution/src/threadPool_and_statemachine/dealWith/handlepool.cpp

+ 4 - 0
CAE_Solution/src/threadPool_and_statemachine/dealWith/handlepool.cpp

@@ -782,8 +782,12 @@ bool handlePool::result_readIgsFile(boostJsonObject *object_, QVTKRenderer *rend
 
     try{
     if(cmdp->CreateProcess_(object_->da_struct->geoPath,"")){//unuse xmlpath
+        delete cmdp;
+        cmdp = NULL;
         return true;
     }else{
+        delete cmdp;
+        cmdp = NULL;
         return false;
     }
     }catch(myException &ex){