From f7819b4bc08d3ee2fc391b79da8480e7c85d64fd Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 28 三月 2025 13:57:25 +0800
Subject: [PATCH] ASDC

---
 iailab-module-model/iailab-module-model-biz/src/main/resources/template/cpp.vm |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/template/cpp.vm b/iailab-module-model/iailab-module-model-biz/src/main/resources/template/cpp.vm
index b4ddf01..722a8de 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/resources/template/cpp.vm
+++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/template/cpp.vm
@@ -94,17 +94,7 @@
 			cout << "ConvertPydictToJhmap error" << endl;
 			throw "函数返回值异常!";
 		}
-		cout << "clear_py_memory" << endl;
-		Py_XDECREF(pFunc);
-#{foreach} ($column in [1..$entity.dataLength])
-		Py_XDECREF(data_${column});
-#{end}
-#{if}($entity.model==1)
-		Py_XDECREF(model_path);
-#{end}
-		Py_XDECREF(settings_1);
-		Py_XDECREF(pArg);
-		Py_XDECREF(pReturn);
+
 		return result;
 	}
 	catch (const char* msg)

--
Gitblit v1.9.3