lib/zookeeper.rb in zookeeper-0.4.2 vs lib/zookeeper.rb in zookeeper-0.4.3

- old
+ new

@@ -154,17 +154,15 @@ private def setup_dispatch_thread! @dispatcher = Thread.new { while true do dispatch_next_callback - sleep 0.1 end } end def dispatch_next_callback hash = get_next_event - return nil unless hash is_completion = hash.has_key?(:rc) hash[:stat] = Stat.new(hash[:stat]) if hash.has_key?(:stat) hash[:acl] = hash[:acl].map { |acl| ACL.new(acl) } if hash[:acl]