规范变量的定义; 支持关闭FS的相关统计,便于valgrind/asan定位内存的相关问题
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -1982,6 +1982,7 @@ struct maat *init_maat_feather(const char* conffile, char* instance_name, char *
|
||||
void tsg_maat_rule_destroy(void)
|
||||
{
|
||||
maat_free(g_tsg_maat_feather);
|
||||
g_tsg_maat_feather=NULL;
|
||||
MESA_destroy_runtime_log_handle(g_tsg_maat_rt_para.logger);
|
||||
g_tsg_maat_rt_para.logger = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user