Explorar o código

0922 修改log

caizm %!s(int64=2) %!d(string=hai) anos
pai
achega
e4dee0c30e

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