summaryrefslogtreecommitdiff
path: root/src/tsg_entry.cpp
diff options
context:
space:
mode:
author刘学利 <[email protected]>2023-07-28 07:43:22 +0000
committeryangwei <[email protected]>2023-07-30 21:22:08 +0800
commit41c94038e9fc044c7560fecea859571a03301b64 (patch)
tree1166258e58902ff47f0198f53ae45421d382c92a /src/tsg_entry.cpp
parent7cdcc95f798efd11e4575d63028e0501d3cd8305 (diff)
规范变量的定义; 支持关闭FS的相关统计,便于valgrind/asan定位内存的相关问题
Diffstat (limited to 'src/tsg_entry.cpp')
-rw-r--r--src/tsg_entry.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp
index 31dca52..c082489 100644
--- a/src/tsg_entry.cpp
+++ b/src/tsg_entry.cpp
@@ -2641,9 +2641,11 @@ extern "C" int TSG_MASTER_UNLOAD()
{
- g_tsg_maat_feather=NULL;
-
-
+ ctemplate::Template::ClearCache();
+ //delete g_tsg_para.tpl_403;
+ //delete g_tsg_para.tpl_404;
+ //delete g_tsg_para.tpl_200;
+ //delete g_tsg_para.tpl_204;
tsg_sendlog_destroy(g_tsg_log_instance);
tsg_metric_destroy();