潘志宝
2 天以前 271fed395d4d3e4ab8cdb44ccf466859ba485e46
iailab-module-model/iailab-module-model-biz/src/main/resources/template/cpp.vm
@@ -94,38 +94,6 @@
         cout << "ConvertPydictToJhmap error" << endl;
         throw "函数返回值异常!";
      }
      /*delete pModule;
      pModule = nullptr;
      delete pModule;
      delete pFunc;
      pFunc = nullptr;
      delete pFunc;
#{foreach} ($column in [1..$entity.dataLength])
      delete[] data_${column};
      data_${column} = nullptr;
      delete data_${column};
#{end}
#{if}($entity.model==1)
      delete model_path;
      model_path = nullptr;
      delete model_path;
#{end}
      delete settings_1;
      settings_1 = nullptr;
      delete settings_1;
      delete[] pArg;
      pArg = nullptr;
      delete pArg;
      Py_DECREF(pReturn);
      Py_DECREF(pFunc);
      Py_DECREF(pModule);
      Py_CLEAR(pModule);*/
      return result;
   }