diff --git a/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java b/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java index 37d1ef79..39efd041 100644 --- a/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java +++ b/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java @@ -932,7 +932,15 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl { return new MulReturnType<>(err, null); } - err = removeTractionStrategy(getTractionStrategyName(disposeObject)); + String policyName = getTractionStrategyName(disposeObject); + + // 更新缓存状态 + if (dpBypassManager.getTractionStrategyName().containsKey(policyName)) { + DpTractionStrategy ts = dpBypassManager.getTractionStrategyName().get(policyName); + ts.setRunning(false); + } + + err = removeTractionStrategy(policyName); if (err != ErrorCode.ERR_OK) { log.error("----Error DPTech Stop Cleanup Task, Clean Traction Strategy Error: {}, {}",