lib/new_relic/agent/instrumentation/httpclient/instrumentation.rb in newrelic_rpm-8.13.1 vs lib/new_relic/agent/instrumentation/httpclient/instrumentation.rb in newrelic_rpm-8.14.0

- old
+ new

@@ -27,10 +27,10 @@ wrapped_response = ::NewRelic::Agent::HTTPClients::HTTPClientResponse.new(response) segment.process_response_headers(wrapped_response) response ensure - segment.finish if segment + ::NewRelic::Agent::Transaction::Segment.finish(segment) end end end end end