提交 f39ad1f7 编写于 作者: N Nikolai Kochetov

Fix traverse.

上级 904647f0
......@@ -18,7 +18,7 @@ void traverse(IProcessor & processor, Visit && visit)
if (status == IProcessor::Status::NeedData)
for (auto & input : processor.getInputs())
if (input.isNeeded())
if (input.isNeeded() && !input.hasData())
traverse(input.getOutputPort().getProcessor(), std::forward<Visit>(visit));
if (status == IProcessor::Status::PortFull)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册