# File lib/new_relic/agent/harvester.rb, line 12 def initialize(events, after_forker=NewRelic::Agent) # We intentionally don't set our pid as started at this point. # Startup routines must call mark_started when they consider us set! @starting_pid = nil @after_forker = after_forker if events events.subscribe(:start_transaction, &method(:on_transaction)) end end