Skip to content

Commit

Permalink
on start of a transaction, reset the thread locals for RUM tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
Darin Swanson committed May 5, 2011
1 parent 07d77d6 commit 6a47429
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/new_relic/agent/stats_engine/transactions.rb
Expand Up @@ -92,6 +92,7 @@ def scope_name

# Start a new transaction, unless one is already in progress
def start_transaction(name = nil)
Thread.current[:newrelic_most_recent_transaction] = nil
Thread::current[:newrelic_scope_stack] ||= []
self.scope_name = name if name
end
Expand Down

0 comments on commit 6a47429

Please sign in to comment.