Skip to content

Commit

Permalink
Removing pointer from children to parents - not required at present
Browse files Browse the repository at this point in the history
  • Loading branch information
mloughran committed Nov 13, 2009
1 parent 7c81e41 commit c414a29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/noodler/node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Noodler
class Node
include EM::Deferrable

attr_accessor :parent
# attr_accessor :parent

def initialize(type, strategy = nil, &strategy_block)
unless type == :sync || type == :async
Expand All @@ -15,7 +15,7 @@ def initialize(type, strategy = nil, &strategy_block)
end

def <<(child)
child.parent = self
# child.parent = self
child.callback do
@children_complete += 1
if @children_complete == @children.size
Expand Down

0 comments on commit c414a29

Please sign in to comment.