提交 ba517c71 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Don't call self.fn.free() unnecessarily.

上级 e4449111
...@@ -624,7 +624,7 @@ class Scan(PureOp): ...@@ -624,7 +624,7 @@ class Scan(PureOp):
# Big ugly hack since we can't get the real value of allow_gc # Big ugly hack since we can't get the real value of allow_gc
# for the englobing function. # for the englobing function.
allow_gc = config.allow_gc allow_gc = config.allow_gc and not self.allow_gc
def rval(p=p, i=node_input_storage, o=node_output_storage, n=node, def rval(p=p, i=node_input_storage, o=node_output_storage, n=node,
allow_gc=allow_gc): allow_gc=allow_gc):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论