diff --git a/spider-flow-core/src/main/java/org/spiderflow/core/Spider.java b/spider-flow-core/src/main/java/org/spiderflow/core/Spider.java index 30064fe..376c219 100644 --- a/spider-flow-core/src/main/java/org/spiderflow/core/Spider.java +++ b/spider-flow-core/src/main/java/org/spiderflow/core/Spider.java @@ -3,7 +3,6 @@ package org.spiderflow.core; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.math.NumberUtils; import org.spiderflow.ExpressionEngine; -import org.spiderflow.ExpressionHolder; import org.spiderflow.concurrent.SpiderFlowThreadPoolExecutor; import org.spiderflow.concurrent.SpiderFlowThreadPoolExecutor.SubThreadPoolExecutor; import org.spiderflow.context.RunnableNode; @@ -110,7 +109,6 @@ public class Spider { if (listeners != null) { listeners.forEach(listener -> listener.afterEnd(context)); } - ExpressionHolder.remove(); } } @@ -191,7 +189,6 @@ public class Spider { context.setRunning(false); return; } - ExpressionHolder.setVariables(nVariables); //执行节点具体逻辑 executor.execute(node, context, nVariables); nVariables.put("ex", null);