fix(driver): check tags size

This commit is contained in:
fengzero
2023-09-11 08:18:45 +00:00
parent 9c5c41b264
commit 911d7d7f8c
+1 -1
View File
@@ -1323,7 +1323,7 @@ static int read_callback(void *usr_data)
group_change);
}
if (group->grp.tags != NULL) {
if (group->grp.tags != NULL && utarray_len(group->grp.tags) > 0) {
int64_t spend = global_timestamp;
group->driver->adapter.module->intf_funs->driver.group_timer(