feature #IAY66T 完善代码

This commit is contained in:
DaleLee
2025-02-16 19:31:26 +08:00
parent 316a539699
commit 1aed0bcb87
2 changed files with 1 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ public class Chain implements Executable{
// 因为在正式执行condition之前this.conditionList有可能被其他线程置空
// 比如该chain在规则缓存中被淘汰
List<Condition> conditionListRef = this.conditionList;
// 但在编译后到拿到引用之前this.conditionList也有可能被置空
// 但在编译后到拿到引用之前this.conditionList可能已经被置空
if (CollUtil.isEmpty(conditionListRef)) {
// 如果conditionListRef为空
// 构建临时conditionList确保本次一定可以执行

View File

@@ -85,7 +85,6 @@ public class RuleCacheLifeCycle implements PostProcessChainExecuteLifeCycle {
}
}
/**
* 监听在缓存中被移除的 Chain
*/