修复扫描现场死锁的bug,通过延迟删除方式销毁compile_group_relation。

This commit is contained in:
zhengchao
2019-06-13 19:53:08 +08:00
parent 0992c8a14b
commit 8e0d69eec1
2 changed files with 6 additions and 1 deletions

View File

@@ -192,6 +192,7 @@ enum maat_garbage_type
GARBAGE_SCANNER=0,
GARBAGE_GROUP_RULE,
GARBAGE_COMPILE_RULE,
GARBAGE_COMPILE_GOURP_RELATION,
GARBAGE_BOOL_MATCHER,
GARBAGE_MAP_STR2INT,
GARBAGE_FOREIGN_FILE
@@ -432,6 +433,7 @@ struct _maat_garbage_t
struct Maat_scanner_t* scanner;
struct Maat_group_inner* group_rule;
struct Maat_compile_rule* compile_rule;
struct Maat_compile_group_relation * compile_group_relation;
struct bool_matcher* bool_matcher;
void * raw;
MESA_htable_handle str2int_map;