# File lib/new_relic/agent/threading/backtrace_service.rb, line 79
        def unsubscribe(transaction_name)
          return unless self.class.is_supported?

          NewRelic::Agent.logger.debug("Backtrace Service unsubscribing transaction '#{transaction_name}'")
          @lock.synchronize do
            @profiles.delete(transaction_name)
            if @profiles.empty?
              stop
            else
              update_values_from_profiles
            end
          end
        end