瀏覽代碼

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){