TSG-8084: 使用开关(DYNAMIC_MAAT_SWITCH)控制使用静态或动态MAAT句柄扫描subscriber_id,默认使用静态MAAT句柄

This commit is contained in:
liuxueli
2021-10-25 21:59:38 +08:00
parent 9fcc3c88d3
commit 72254973b6
4 changed files with 24 additions and 11 deletions

View File

@@ -2018,10 +2018,12 @@ extern "C" int TSG_MASTER_UNLOAD()
{
Maat_burn_feather(g_tsg_maat_feather);
g_tsg_maat_feather=NULL;
Maat_burn_feather(g_tsg_dynamic_maat_feather);
g_tsg_dynamic_maat_feather=NULL;
if(g_tsg_para.dynamic_maat_switch==1)
{
Maat_burn_feather(g_tsg_dynamic_maat_feather);
g_tsg_dynamic_maat_feather=NULL;
}
return 0;
}