lib/ddtrace/buffer.rb
# Stored traces are returned and the local buffer is reset.
Stored traces are returned and the local buffer is reset.
Stored traces are returned and the local buffer is reset .
def pop
      @mutex.synchronize do
        traces = @traces
        @traces = []
        measure_pop(traces)
        return traces
      end
    end
def pop @mutex . synchronize do traces = @traces @traces = [ ] measure_pop ( traces ) return traces end end
Stored traces are returned and the local buffer is reset.
Stored traces are returned and the local buffer is reset .