Commit c00100f8 by formath Committed by Tianqi Chen

delete dependency node (#121)

parent 3ad05398
......@@ -27,6 +27,7 @@ Node::~Node() {
for (NodePtr& sp : n->control_deps) {
if (sp.unique()) {
stack.push_back(sp.get());
to_delete.emplace_back(std::move(sp));
} else {
sp.reset();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment