# File lib/new_relic/agent/commands/thread_profiler_session.rb, line 45 def stop(report_data) return unless running? NewRelic::Agent.logger.debug("Stopping Thread Profiler.") @finished_profile = @backtrace_service.harvest(NewRelic::Agent::Threading::BacktraceService::ALL_TRANSACTIONS) @backtrace_service.unsubscribe(NewRelic::Agent::Threading::BacktraceService::ALL_TRANSACTIONS) @finished_profile = nil if !report_data end