# File lib/new_relic/agent/commands/agent_command_router.rb, line 62 def on_before_shutdown(*args) if self.thread_profiler_session.running? self.thread_profiler_session.stop(true) end end